diff --git a/devel/liblpm/Makefile b/devel/liblpm/Makefile index 96ee2707ddb4..15c2c5d8b567 100644 --- a/devel/liblpm/Makefile +++ b/devel/liblpm/Makefile @@ -1,38 +1,32 @@ # $FreeBSD$ PORTNAME= liblpm PORTVERSION= g2020082801 CATEGORIES= devel MAINTAINER= swills@FreeBSD.org COMMENT= Longest Prefix Match library LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/../LICENSE -USES= compiler gmake libtool:build +USES= compiler:c11 gmake libtool:build USE_GITHUB= yes GH_ACCOUNT= rmind GH_PROJECT= liblpm GH_TAGNAME= 4119bb7 WRKSRC_SUBDIR= src USE_LDCONFIG= yes MAKE_ENV= DESTDIR=${STAGEDIR}${PREFIX} \ INCDIR=${LOCALBASE}/include \ LIBDIR=${LOCALBASE}/lib \ MANDIR=${LOCALBASE}/man PLIST_FILES= include/lpm.h \ lib/liblpm.a \ lib/liblpm.so \ lib/liblpm.so.1 \ lib/liblpm.so.1.0.0 -.include - -.if ${CHOSEN_COMPILER_TYPE} == gcc -EXTRA_PATCHES= ${PATCHDIR}/extra-patch-Makefile -.endif - -.include +.include diff --git a/devel/liblpm/files/extra-patch-Makefile b/devel/liblpm/files/extra-patch-Makefile deleted file mode 100644 index b5d7bd4d3ee0..000000000000 --- a/devel/liblpm/files/extra-patch-Makefile +++ /dev/null @@ -1,16 +0,0 @@ ---- Makefile.orig 2019-05-18 16:55:32 UTC -+++ Makefile -@@ -11,13 +11,10 @@ CFLAGS+= -D_GNU_SOURCE -D_DEFAULT_SOURCE - # - # Extended warning flags. - # --CFLAGS+= -Wno-unknown-warning-option # gcc vs clang -- - CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith - CFLAGS+= -Wmissing-declarations -Wredundant-decls -Wnested-externs - CFLAGS+= -Wshadow -Wcast-qual -Wcast-align -Wwrite-strings - CFLAGS+= -Wold-style-definition --CFLAGS+= -Wsuggest-attribute=noreturn -Wjump-misses-init - - # New GCC 6/7 flags: - #CFLAGS+= -Wduplicated-cond -Wmisleading-indentation -Wnull-dereference