Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Apr 2015 15:44:03 +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: r384364 - head/security/fwbuilder
Message-ID:  <201504201544.t3KFi3ld093154@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Mon Apr 20 15:44:02 2015
New Revision: 384364
URL: https://svnweb.freebsd.org/changeset/ports/384364

Log:
  Run included autogen.sh instead of autoreconf because it will also copy
  config.sub and config.guess
  
  Reported by:	antoine

Modified:
  head/security/fwbuilder/Makefile

Modified: head/security/fwbuilder/Makefile
==============================================================================
--- head/security/fwbuilder/Makefile	Mon Apr 20 15:24:00 2015	(r384363)
+++ head/security/fwbuilder/Makefile	Mon Apr 20 15:44:02 2015	(r384364)
@@ -48,7 +48,7 @@ USE_QT4=	corelib \
 QTDIR?=		${QT_PREFIX}
 
 USE_OPENSSL=	yes
-USES=		autoreconf gmake libtool
+USES=		autoreconf:build gmake libtool
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \
 		INSTALL_ROOT=${STAGEDIR}
@@ -64,20 +64,27 @@ PLIST_SUB+=	PORTVERSION="${PORTVERSION}"
 
 PORTDOCS=	*
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 .if  ${OSVERSION} >= 1000055
 # IMPORTANT: Newer versions of rcs will NOT work with fwbuilder.
 RUN_DEPENDS=	rcs:${PORTSDIR}/devel/rcs57
 .endif
 
+.if empty(PORT_OPTIONS:MDOCS)
+BROKEN=		DOCS must be enabled in this port
+.endif
+
+post-patch:
+	@${REINPLACE_CMD} '/^\.\/configure/d' ${WRKSRC}/autogen.sh
+
+pre-configure:
+	(cd ${WRKSRC} && ./autogen.sh)
+
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/fwbuilder
 	@${ECHO} If you are upgrading from a previous version of fwbuilder,
 	@${ECHO} please make sure to backup your fwbuilder database files
 	@${ECHO} prior to invoking fwbuilder for the first time.
 
-.if empty(PORT_OPTIONS:MDOCS)
-BROKEN=		DOCS must be enabled in this port
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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