mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
Don't USE_SLEDGEHAMMER=GCC-3.4 on 4.x when removing an unsupported warning
option from configure's CFLAGS lets this build with gcc 2.95 just fine. While here, increase the chance of this working on alpha by making the addition of -mieee not exclusive to *alpha*-*-linux*.
This commit is contained in:
parent
b9217fc595
commit
55a28c1664
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=154686
@ -63,12 +63,11 @@ USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${PORTSDIR}/misc/ldconfig_compat/bsd.ldconfig.mk"
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
USE_GCC= 3.4+
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|'
|
||||
.if ${OSVERSION} < 500000
|
||||
@${REINPLACE_CMD} 's|-Wno-unused-parameter||g' ${WRKSRC}/configure
|
||||
.endif
|
||||
|
||||
post-install: install-ldconfig-file
|
||||
.if !defined(NOPORTDOCS)
|
||||
|
@ -1,5 +1,14 @@
|
||||
--- configure.orig Sun Aug 28 15:09:28 2005
|
||||
+++ configure Wed Dec 28 16:15:47 2005
|
||||
+++ configure Sat Jan 28 22:36:22 2006
|
||||
@@ -4690,7 +4690,7 @@
|
||||
*-dec-osf* )
|
||||
CFLAGS="${CFLAGS} -mieee -Wall"
|
||||
;;
|
||||
- *alpha*-*-linux* )
|
||||
+ *alpha*-*-* )
|
||||
CFLAGS="${CFLAGS} -mieee -Wall"
|
||||
;;
|
||||
*-apple-darwin* )
|
||||
@@ -23372,21 +23372,21 @@
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user