From b75adecb3f697e81e61207a92e4c3d180da93344 Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Wed, 21 Jun 2017 02:55:37 +0000 Subject: Switch to USES localbase. --- net-mgmt/grepip/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net-mgmt') diff --git a/net-mgmt/grepip/Makefile b/net-mgmt/grepip/Makefile index 4efafd2a5df5..5f467d7f235c 100644 --- a/net-mgmt/grepip/Makefile +++ b/net-mgmt/grepip/Makefile @@ -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 -- cgit v1.2.3