aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/portdowngrade
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2012-06-25 03:35:16 +0000
committerSteve Wills <swills@FreeBSD.org>2012-06-25 03:35:16 +0000
commit41d391c9db8ab43e3740e12c4a432a7a30d946ea (patch)
tree9505e8c04b8d9a555fea81a3850af8b09bf76309 /ports-mgmt/portdowngrade
parenta782323709a3511cad32ac432f47264891852227 (diff)
downloadports-41d391c9db8ab43e3740e12c4a432a7a30d946ea.tar.gz
ports-41d391c9db8ab43e3740e12c4a432a7a30d946ea.zip
Notes
Diffstat (limited to 'ports-mgmt/portdowngrade')
-rw-r--r--ports-mgmt/portdowngrade/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/ports-mgmt/portdowngrade/Makefile b/ports-mgmt/portdowngrade/Makefile
index bda285aab145..aa080dfdeb60 100644
--- a/ports-mgmt/portdowngrade/Makefile
+++ b/ports-mgmt/portdowngrade/Makefile
@@ -16,10 +16,8 @@ COMMENT= Sets a port back to a previous version
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
-POPT_INCLUDE= `pkg_info -xL ^popt | ${GREP} popt.h | ${SED} -e 's?/popt.h??'`
-POPT_LIB= `pkg_info -xL ^popt | ${GREP} libpopt.a | ${SED} -e 's?/libpopt.a??'`
-CONFIGURE_ENV= LIBS="-lpopt -L${POPT_LIB}"
-CPPFLAGS+= -I${POPT_INCLUDE}
+CONFIGURE_ENV= LIBS="-lpopt -L${LOCALBASE}/lib"
+CPPFLAGS+= -I${LOCALBASE}/include
.if defined(DEFAULT_CVS_SERVER)
CONFIGURE_ARGS+= --enable-default-server=${DEFAULT_CVS_SERVER}
.endif