aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-12-11 18:14:18 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-12-11 18:14:18 +0000
commit6236e5fa5b6fd2f20998d85d1f5d84ddf03a7e78 (patch)
tree073ffb9a87f756e0e81e3b09c76a07e6fd3d5c5c /print
parent433b9abfa535acbafc96f91186be807d16e4e40d (diff)
downloadports-6236e5fa5b6fd2f20998d85d1f5d84ddf03a7e78.tar.gz
ports-6236e5fa5b6fd2f20998d85d1f5d84ddf03a7e78.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/scribus-devel/Makefile6
-rw-r--r--print/scribus/Makefile6
2 files changed, 6 insertions, 6 deletions
diff --git a/print/scribus-devel/Makefile b/print/scribus-devel/Makefile
index 0fdc93465212..588bfea60b5d 100644
--- a/print/scribus-devel/Makefile
+++ b/print/scribus-devel/Makefile
@@ -21,8 +21,6 @@ MASTER_SITE_SUBDIR= apps/office
MAINTAINER= ports@FreeBSD.org
COMMENT= A comprehensive desktop publishing program
-BROKEN= "Broken pkg-plist"
-
LIB_DEPENDS= lcms.1:${PORTSDIR}/graphics/lcms \
tiff.4:${PORTSDIR}/graphics/tiff \
cups.2:${PORTSDIR}/print/cups-base \
@@ -52,6 +50,8 @@ pre-everything::
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g; \
- s|-O2||g' ${WRKSRC}/configure
+ s|-O2||g ; \
+ s|2\.3|${PYTHON_VERSION:S/^python//}|g ; \
+ s|python2_3|${PYTHON_VERSION:S/./_/}|g' ${WRKSRC}/configure
.include <bsd.port.mk>
diff --git a/print/scribus/Makefile b/print/scribus/Makefile
index 0fdc93465212..588bfea60b5d 100644
--- a/print/scribus/Makefile
+++ b/print/scribus/Makefile
@@ -21,8 +21,6 @@ MASTER_SITE_SUBDIR= apps/office
MAINTAINER= ports@FreeBSD.org
COMMENT= A comprehensive desktop publishing program
-BROKEN= "Broken pkg-plist"
-
LIB_DEPENDS= lcms.1:${PORTSDIR}/graphics/lcms \
tiff.4:${PORTSDIR}/graphics/tiff \
cups.2:${PORTSDIR}/print/cups-base \
@@ -52,6 +50,8 @@ pre-everything::
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g; \
- s|-O2||g' ${WRKSRC}/configure
+ s|-O2||g ; \
+ s|2\.3|${PYTHON_VERSION:S/^python//}|g ; \
+ s|python2_3|${PYTHON_VERSION:S/./_/}|g' ${WRKSRC}/configure
.include <bsd.port.mk>