diff options
author | krion <krion@FreeBSD.org> | 2004-12-12 02:14:18 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-12-12 02:14:18 +0800 |
commit | d3beb673fa70a5571b33d548ebcefbff509a0c4d (patch) | |
tree | 11f9a8808f8c28a36f87f824e0c1191f2efc9481 | |
parent | c62cc4f1d1d3e8113977cbff7255283867cbc624 (diff) | |
download | freebsd-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/Makefile | 6 | ||||
-rw-r--r-- | print/scribus/Makefile | 6 |
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> |