diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2005-12-27 23:04:09 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2005-12-27 23:04:09 +0800 |
commit | 7ae624755f1424ed689c41ee4bed76502375ca19 (patch) | |
tree | 2fc19a9ea24cc41d9cd950d62e0ca3f5ce79c693 /print | |
parent | dc3ae9b2f6509b0cb6a1851dbbfc55405e112b93 (diff) | |
download | freebsd-ports-gnome-7ae624755f1424ed689c41ee4bed76502375ca19.tar.gz freebsd-ports-gnome-7ae624755f1424ed689c41ee4bed76502375ca19.tar.zst freebsd-ports-gnome-7ae624755f1424ed689c41ee4bed76502375ca19.zip |
The substitution command s|2\.3|${PYTHON_VERSION:S/^python//}|g in
print/scribus/Makefile is too liberal, substituting part of the Scribus
version (1.2.3) for the Python version (2.4), among other things.
Also bump PORTREVISION.
PR: 90974
Submitted by: Aron Stansvik <elvstone@gmail.com>
Diffstat (limited to 'print')
-rw-r--r-- | print/scribus-devel/Makefile | 10 | ||||
-rw-r--r-- | print/scribus/Makefile | 10 |
2 files changed, 12 insertions, 8 deletions
diff --git a/print/scribus-devel/Makefile b/print/scribus-devel/Makefile index 0fa3b9779611..8d79fc6f4af2 100644 --- a/print/scribus-devel/Makefile +++ b/print/scribus-devel/Makefile @@ -8,6 +8,7 @@ PORTNAME= scribus PORTVERSION= 1.2.3 +PORTREVISION= 1 CATEGORIES= print editors MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://www.scribus.org.uk/downloads/${PORTVERSION}/ @@ -51,10 +52,11 @@ pre-everything:: post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g; \ - s|-O2 ||g ; \ - s|="-lc"|=""|g ; \ - s|2\.3|${PYTHON_VERSION:S/^python//}|g ; \ - s|python2_3|${PYTHON_VERSION:S/./_/}|g' ${WRKSRC}/configure + s|-O2 ||g ; \ + s|="-lc"|=""|g ; \ + s|python2\.3|python${PYTHON_VERSION:S/^python//}|g ; \ + s|Python 2\.3|Python ${PYTHON_VERSION:S/^python//}|g ; \ + s|python2_3|${PYTHON_VERSION:S/./_/}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e '/\/share\/pixmaps\//s|^|#|g' \ ${WRKSRC}/scribus/icons/Makefile.in diff --git a/print/scribus/Makefile b/print/scribus/Makefile index 0fa3b9779611..8d79fc6f4af2 100644 --- a/print/scribus/Makefile +++ b/print/scribus/Makefile @@ -8,6 +8,7 @@ PORTNAME= scribus PORTVERSION= 1.2.3 +PORTREVISION= 1 CATEGORIES= print editors MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://www.scribus.org.uk/downloads/${PORTVERSION}/ @@ -51,10 +52,11 @@ pre-everything:: post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g; \ - s|-O2 ||g ; \ - s|="-lc"|=""|g ; \ - s|2\.3|${PYTHON_VERSION:S/^python//}|g ; \ - s|python2_3|${PYTHON_VERSION:S/./_/}|g' ${WRKSRC}/configure + s|-O2 ||g ; \ + s|="-lc"|=""|g ; \ + s|python2\.3|python${PYTHON_VERSION:S/^python//}|g ; \ + s|Python 2\.3|Python ${PYTHON_VERSION:S/^python//}|g ; \ + s|python2_3|${PYTHON_VERSION:S/./_/}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e '/\/share\/pixmaps\//s|^|#|g' \ ${WRKSRC}/scribus/icons/Makefile.in |