1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

Fix build with gcc41

portlint
This commit is contained in:
Tilman Keskinoz 2006-12-20 16:53:25 +00:00
parent 98d4925ebd
commit 8ca07f1099
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=180287
2 changed files with 12 additions and 4 deletions

View File

@ -38,13 +38,17 @@ ENABLE_IPv6= --enable-ipv6
.endif
.if ${OSVERSION} >= 700011
EXTRA_PATCHES= ${FILESDIR}/timet.patch
EXTRA_PATCHES= ${FILESDIR}/timet.patch
.endif
.if ${ARCH} != "i386"
BROKEN= "Does not compile on !i386"
BROKEN= Does not compile on !i386
.endif
post-patch:
${REINPLACE_CMD} -e "s,-Werror,," ${WRKSRC}/common/configure.in \
${WRKSRC}/rat/configure.in
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rat/${RAT} ${PREFIX}/bin/${RAT}
${INSTALL_PROGRAM} ${WRKSRC}/rat/${RAT}-ui ${PREFIX}/bin/${RAT}-ui

View File

@ -38,13 +38,17 @@ ENABLE_IPv6= --enable-ipv6
.endif
.if ${OSVERSION} >= 700011
EXTRA_PATCHES= ${FILESDIR}/timet.patch
EXTRA_PATCHES= ${FILESDIR}/timet.patch
.endif
.if ${ARCH} != "i386"
BROKEN= "Does not compile on !i386"
BROKEN= Does not compile on !i386
.endif
post-patch:
${REINPLACE_CMD} -e "s,-Werror,," ${WRKSRC}/common/configure.in \
${WRKSRC}/rat/configure.in
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rat/${RAT} ${PREFIX}/bin/${RAT}
${INSTALL_PROGRAM} ${WRKSRC}/rat/${RAT}-ui ${PREFIX}/bin/${RAT}-ui