aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-12-12 02:14:18 +0800
committerkrion <krion@FreeBSD.org>2004-12-12 02:14:18 +0800
commitd3beb673fa70a5571b33d548ebcefbff509a0c4d (patch)
tree11f9a8808f8c28a36f87f824e0c1191f2efc9481
parentc62cc4f1d1d3e8113977cbff7255283867cbc624 (diff)
downloadfreebsd-ports-gnome-d3beb673fa70a5571b33d548ebcefbff509a0c4d.tar.gz
freebsd-ports-gnome-d3beb673fa70a5571b33d548ebcefbff509a0c4d.tar.zst
freebsd-ports-gnome-d3beb673fa70a5571b33d548ebcefbff509a0c4d.zip
Fix build
PR: ports/74950 Submitted by: Ports Fury
-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>