svn commit: r384364 - head/security/fwbuilder
Tijl Coosemans
tijl at FreeBSD.org
Mon Apr 20 15:44:03 UTC 2015
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>
More information about the svn-ports-head
mailing list