Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jun 2017 02:55:37 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r444012 - head/net-mgmt/grepip
Message-ID:  <201706210255.v5L2tbuQ085017@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706210255.v5L2tbuQ085017>