1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Run included autogen.sh instead of autoreconf because it will also copy

config.sub and config.guess

Reported by:	antoine
This commit is contained in:
Tijl Coosemans 2015-04-20 15:44:02 +00:00
parent e877ae1522
commit 0c3a7b3879
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=384364

View File

@ -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>