aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-10-06 01:35:08 +0800
committertijl <tijl@FreeBSD.org>2014-10-06 01:35:08 +0800
commit2338fc5224c9fd5feaabf045d627b5551ef2cbbb (patch)
tree13735be5789b28adc852745ea5f4b6ea4399ffbf /net
parent6ebfa1cf6490b08f5f30868c0e22ac0bc3418961 (diff)
downloadfreebsd-ports-gnome-2338fc5224c9fd5feaabf045d627b5551ef2cbbb.tar.gz
freebsd-ports-gnome-2338fc5224c9fd5feaabf045d627b5551ef2cbbb.tar.zst
freebsd-ports-gnome-2338fc5224c9fd5feaabf045d627b5551ef2cbbb.zip
- Replace USE_AUTOTOOLS with USES=autoreconf:build
- Remove PTHREAD_LIBS - Don't use SCRIPTS_ENV in post-configure, it is meant for scripts in SCRIPTDIR
Diffstat (limited to 'net')
-rw-r--r--net/ntop/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/net/ntop/Makefile b/net/ntop/Makefile
index 49cc72193d08..c17657b201bb 100644
--- a/net/ntop/Makefile
+++ b/net/ntop/Makefile
@@ -22,8 +22,7 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} \
DBDIR?= /var/db
-USES= gmake libtool python
-USE_AUTOTOOLS= automake autoconf libtoolize
+USES= autoreconf:build gmake libtool python
USE_GNOME= libxml2
USE_OPENSSL= yes
GNU_CONFIGURE= yes
@@ -36,9 +35,8 @@ CONFIGURE_ARGS= --localstatedir=${DBDIR} \
--with-zlib-root=/usr
INSTALL_TARGET= install-strip
-CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
-LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CPPFLAGS+= -I${LOCALBASE}/include
+LIBS+= -L${LOCALBASE}/lib
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
SUB_FILES= pkg-deinstall
SUB_LIST= DBDIR=${DBDIR}
@@ -91,7 +89,7 @@ CONFIGURE_ARGS+= STRIP=${LOCALBASE}/bin/strip
.endif
pre-configure:
- @cd ${WRKSRC} && ${SETENV} ${SCRIPTS_ENV} ${SH} autogen.sh --noconfig
+ @(cd ${WRKSRC} && ./autogen.sh --noconfig)
pre-install:
@cd ${WRKSRC} && ${MAKE_CMD} dnetter