Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Oct 2014 17:35:09 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r370097 - head/net/ntop
Message-ID:  <201410051735.s95HZ95q010478@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Sun Oct  5 17:35:08 2014
New Revision: 370097
URL: https://svnweb.freebsd.org/changeset/ports/370097
QAT: https://qat.redports.org/buildarchive/r370097/

Log:
  - 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

Modified:
  head/net/ntop/Makefile

Modified: head/net/ntop/Makefile
==============================================================================
--- head/net/ntop/Makefile	Sun Oct  5 17:11:04 2014	(r370096)
+++ head/net/ntop/Makefile	Sun Oct  5 17:35:08 2014	(r370097)
@@ -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/
 .endif
 
 pre-configure:
-	@cd ${WRKSRC} && ${SETENV} ${SCRIPTS_ENV} ${SH} autogen.sh --noconfig
+	@(cd ${WRKSRC} && ./autogen.sh --noconfig)
 
 pre-install:
 	@cd ${WRKSRC} && ${MAKE_CMD} dnetter



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410051735.s95HZ95q010478>