aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-07-03 02:45:55 +0800
committermiwi <miwi@FreeBSD.org>2007-07-03 02:45:55 +0800
commit394b9c9035f7d2a71fa64fb38634049fd0ff18c4 (patch)
treebc68cce3f69415f8894d165429529969b5cd6738 /print
parent8ee676c9ed7369058a900ff97a9e940e02b7e0c5 (diff)
downloadfreebsd-ports-gnome-394b9c9035f7d2a71fa64fb38634049fd0ff18c4.tar.gz
freebsd-ports-gnome-394b9c9035f7d2a71fa64fb38634049fd0ff18c4.tar.zst
freebsd-ports-gnome-394b9c9035f7d2a71fa64fb38634049fd0ff18c4.zip
- Unbreak
- Fix build after objformat removal - Remove FreeBSD 4.X gruft
Diffstat (limited to 'print')
-rw-r--r--print/scribus-devel/Makefile11
-rw-r--r--print/scribus/Makefile11
2 files changed, 4 insertions, 18 deletions
diff --git a/print/scribus-devel/Makefile b/print/scribus-devel/Makefile
index 47d16db02d3f..1f4ba5ce3700 100644
--- a/print/scribus-devel/Makefile
+++ b/print/scribus-devel/Makefile
@@ -26,7 +26,6 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinte
USE_BZIP2= yes
USE_QT_VER= 3
-USE_GCC= 3.3+
USE_GNOME= gnometarget libartlgpl2 libxml2
USE_GHOSTSCRIPT_RUN= yes
USE_PYTHON= yes
@@ -41,18 +40,10 @@ MANLANG= "" pl
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 700029
-BROKEN= Broken objformat handling
-.endif
-
.if ${OSVERSION} < 500035
CXXFLAGS+= -fpermissive
.endif
-.if ${OSVERSION} < 500000
-BROKEN= Does not compile on 4.x
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g; \
s|-O2 ||g ; \
@@ -62,5 +53,7 @@ post-patch:
s|python2_3|${PYTHON_VERSION:S/./_/}|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/\/share\/pixmaps\//s|^|#|g' \
${WRKSRC}/scribus/icons/Makefile.in
+ @${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \
+ ${WRKSRC}/configure
.include <bsd.port.post.mk>
diff --git a/print/scribus/Makefile b/print/scribus/Makefile
index 47d16db02d3f..1f4ba5ce3700 100644
--- a/print/scribus/Makefile
+++ b/print/scribus/Makefile
@@ -26,7 +26,6 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinte
USE_BZIP2= yes
USE_QT_VER= 3
-USE_GCC= 3.3+
USE_GNOME= gnometarget libartlgpl2 libxml2
USE_GHOSTSCRIPT_RUN= yes
USE_PYTHON= yes
@@ -41,18 +40,10 @@ MANLANG= "" pl
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 700029
-BROKEN= Broken objformat handling
-.endif
-
.if ${OSVERSION} < 500035
CXXFLAGS+= -fpermissive
.endif
-.if ${OSVERSION} < 500000
-BROKEN= Does not compile on 4.x
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g; \
s|-O2 ||g ; \
@@ -62,5 +53,7 @@ post-patch:
s|python2_3|${PYTHON_VERSION:S/./_/}|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/\/share\/pixmaps\//s|^|#|g' \
${WRKSRC}/scribus/icons/Makefile.in
+ @${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \
+ ${WRKSRC}/configure
.include <bsd.port.post.mk>