diff options
author | alepulver <alepulver@FreeBSD.org> | 2007-09-30 02:54:44 +0800 |
---|---|---|
committer | alepulver <alepulver@FreeBSD.org> | 2007-09-30 02:54:44 +0800 |
commit | 2ba2a7a4967026db4c2749aab8077cddc3c62273 (patch) | |
tree | 48690c038463fd35bac79de5e6c406b303ffd666 /print | |
parent | f430075dfa02d7e5990ebba19ac592870dfaabfc (diff) | |
download | freebsd-ports-gnome-2ba2a7a4967026db4c2749aab8077cddc3c62273.tar.gz freebsd-ports-gnome-2ba2a7a4967026db4c2749aab8077cddc3c62273.tar.zst freebsd-ports-gnome-2ba2a7a4967026db4c2749aab8077cddc3c62273.zip |
- Fix building with GCC 4.2 (remove -Werror) and remove BROKEN for 7.x.
PR: ports/116678
Submitted by: Kevin Oberman <oberman@es.net>
Reworked by: alepulver (myself)
Diffstat (limited to 'print')
-rw-r--r-- | print/ifhp/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/print/ifhp/Makefile b/print/ifhp/Makefile index 88f60287da04..11ae5f20e986 100644 --- a/print/ifhp/Makefile +++ b/print/ifhp/Makefile @@ -53,10 +53,6 @@ PLIST_SUB+= NLS="@comment " .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 700042 -BROKEN= Broken with gcc 4.2 -.endif - .if defined(WITHOUT_FOOMATIC) CONFIGURE_ARGS+= --disable-foomatic .else @@ -83,6 +79,9 @@ pre-everything:: fi @${ECHO_MSG} "Configuring with '${CONFIGURE_ARGS}'" +post-patch: + @${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/configure + post-install: .if !defined(NOPORTDOCS) @${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 0555 ${DOCSDIR} |