summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2007-09-29 18:54:44 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2007-09-29 18:54:44 +0000
commit937c0f23bdb11fbdbb242ccd4be075a20cc31c10 (patch)
tree4996f43086f553f15bc247175830d354dead02e0 /print
parent- Update to 3.1.5 (diff)
- 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)
Notes
Notes: svn path=/head/; revision=200370
Diffstat (limited to 'print')
-rw-r--r--print/ifhp/Makefile7
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}