diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2006-01-28 21:51:10 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2006-01-28 21:51:10 +0000 |
commit | 55a28c16647048f8ea38eaf8486f300ae911f76c (patch) | |
tree | 9d6dc6b89510be0b0286322fd50ad9d0568d1511 | |
parent | Add missing directory (diff) |
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*.
Notes
Notes:
svn path=/head/; revision=154686
-rw-r--r-- | graphics/graphviz/Makefile | 7 | ||||
-rw-r--r-- | graphics/graphviz/files/patch-configure | 11 |
2 files changed, 13 insertions, 5 deletions
diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile index 40c1761caccf..5c2435cb6662 100644 --- a/graphics/graphviz/Makefile +++ b/graphics/graphviz/Makefile @@ -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) diff --git a/graphics/graphviz/files/patch-configure b/graphics/graphviz/files/patch-configure index b1dca02f7106..4ce4505490eb 100644 --- a/graphics/graphviz/files/patch-configure +++ b/graphics/graphviz/files/patch-configure @@ -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 |