diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2007-04-19 16:02:50 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2007-04-19 16:02:50 +0000 |
commit | f3174202c08ebd9bf018e245a65246787b67c50f (patch) | |
tree | af1725d157569b7bda96f172e927f6fb60d0e44b /print/libpaper | |
parent | 538c8ad2a12ca8f2708dab553e5044722c6ebd34 (diff) |
Move REINPLACE_CMD to correct Makefile target and fix a bashism in the
paperconfig script.
Notes
Notes:
svn path=/head/; revision=190361
Diffstat (limited to 'print/libpaper')
-rw-r--r-- | print/libpaper/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/print/libpaper/Makefile b/print/libpaper/Makefile index ed03e453ddba..deab2bbeec9a 100644 --- a/print/libpaper/Makefile +++ b/print/libpaper/Makefile @@ -7,7 +7,7 @@ PORTNAME= libpaper PORTVERSION= 1.1.21 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_DEBIAN} MASTER_SITE_SUBDIR= pool/main/libp/libpaper @@ -33,10 +33,11 @@ MAN8= paperconfig.8 pre-configure: @${TOUCH} ${WRKSRC}/config.sub + @${REINPLACE_CMD} -E -e 's|(#!).*/bin/bash|\1/bin/sh|g' \ + -e 's|==|=|g' \ + ${WRKSRC}/src/paperconfig.in post-configure: @${REINPLACE_CMD} -e 's|$${prefix}|${PREFIX}|g' ${WRKSRC}/config.h - ${REINPLACE_CMD} -E -e 's|(#!).*/bin/bash|\1/bin/sh|g' \ - ${WRKSRC}/src/paperconfig.in .include <bsd.port.mk> |