aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2017-06-21 10:55:37 +0800
committercy <cy@FreeBSD.org>2017-06-21 10:55:37 +0800
commitf698393ea4ead4617fca3c5f2261df6827ec6519 (patch)
tree80a5f13e22ecdcdd565bf0be33ecca0a2748245e /net-mgmt
parent0e0358af0af5ac407c2054d5bae16ee63fa8369d (diff)
downloadfreebsd-ports-gnome-f698393ea4ead4617fca3c5f2261df6827ec6519.tar.gz
freebsd-ports-gnome-f698393ea4ead4617fca3c5f2261df6827ec6519.tar.zst
freebsd-ports-gnome-f698393ea4ead4617fca3c5f2261df6827ec6519.zip
Switch to USES localbase.
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/grepip/Makefile4
1 files changed, 2 insertions, 2 deletions
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