From 2338fc5224c9fd5feaabf045d627b5551ef2cbbb Mon Sep 17 00:00:00 2001 From: tijl Date: Sun, 5 Oct 2014 17:35:08 +0000 Subject: - 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 --- net/ntop/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'net') 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 -- cgit