From f3174202c08ebd9bf018e245a65246787b67c50f Mon Sep 17 00:00:00 2001 From: Michael Nottebrock Date: Thu, 19 Apr 2007 16:02:50 +0000 Subject: [PATCH] Move REINPLACE_CMD to correct Makefile target and fix a bashism in the paperconfig script. --- print/libpaper/Makefile | 7 ++++--- 1 file 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