aboutsummaryrefslogtreecommitdiffstats
path: root/print/libpaper
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2007-04-21 02:06:16 +0800
committerlofi <lofi@FreeBSD.org>2007-04-21 02:06:16 +0800
commitf991a3a30fcc646e95560244c836aced21733f19 (patch)
tree52e79dacffb4e505959628b8ff0fabd14b6a45fb /print/libpaper
parentc1ae09acbd70a1900ff509adf22faaa51a0850ed (diff)
downloadfreebsd-ports-gnome-f991a3a30fcc646e95560244c836aced21733f19.tar.gz
freebsd-ports-gnome-f991a3a30fcc646e95560244c836aced21733f19.tar.zst
freebsd-ports-gnome-f991a3a30fcc646e95560244c836aced21733f19.zip
Set prefix in paperconfig, eg make paperconfig write to the same system
papersize file that paperconf attempts to read.
Diffstat (limited to 'print/libpaper')
-rw-r--r--print/libpaper/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/print/libpaper/Makefile b/print/libpaper/Makefile
index deab2bbeec9a..d8bf8a4a061e 100644
--- a/print/libpaper/Makefile
+++ b/print/libpaper/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libpaper
PORTVERSION= 1.1.21
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_DEBIAN}
MASTER_SITE_SUBDIR= pool/main/libp/libpaper
@@ -38,6 +38,7 @@ pre-configure:
${WRKSRC}/src/paperconfig.in
post-configure:
- @${REINPLACE_CMD} -e 's|$${prefix}|${PREFIX}|g' ${WRKSRC}/config.h
+ @${REINPLACE_CMD} -e 's|$${prefix}|${PREFIX}|g' ${WRKSRC}/config.h \
+ ${WRKSRC}/src/paperconfig
.include <bsd.port.mk>