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:
parent
98d4925ebd
commit
8ca07f1099
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=180287
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user