svn commit: r444012 - head/net-mgmt/grepip

Cy Schubert cy at FreeBSD.org
Wed Jun 21 02:55:38 UTC 2017


Author: cy
Date: Wed Jun 21 02:55:37 2017
New Revision: 444012
URL: https://svnweb.freebsd.org/changeset/ports/444012

Log:
  Switch to USES localbase.

Modified:
  head/net-mgmt/grepip/Makefile

Modified: head/net-mgmt/grepip/Makefile
==============================================================================
--- head/net-mgmt/grepip/Makefile	Wed Jun 21 02:46:52 2017	(r444011)
+++ head/net-mgmt/grepip/Makefile	Wed Jun 21 02:55:37 2017	(r444012)
@@ -15,14 +15,14 @@ LIB_DEPENDS=	libpcre.so:devel/pcre
 
 PLIST_FILES=	bin/grepip
 PORTDOCS=	README.txt
+USES=		localbase
 
 OPTIONS_DEFINE=	DOCS
 
 do-build:
 	cd ${WRKSRC}; \
 	${CC} ${CFLAGS} -c patricia.c; \
-	${CC} ${CFLAGS} -I${LOCALBASE}/include -o grepip grepip.c patricia.o \
-		-L${LOCALBASE}/lib -lpcre
+	${CC} ${CFLAGS} -o grepip grepip.c patricia.o ${LIBS} -lpcre
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/grepip ${STAGEDIR}${PREFIX}/bin


More information about the svn-ports-all mailing list