aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--print/libpaper/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/print/libpaper/Makefile b/print/libpaper/Makefile
index 7401a0be5861..ea1f4c057f88 100644
--- a/print/libpaper/Makefile
+++ b/print/libpaper/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libpaper
PORTVERSION= 1.1.14.3
+PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_DEBIAN}
MASTER_SITE_SUBDIR= pool/main/libp/libpaper
@@ -33,4 +34,7 @@ MAN8= paperconfig.8
pre-configure:
@${TOUCH} ${WRKSRC}/config.sub
+post-configure:
+ @${REINPLACE_CMD} -e 's|$${prefix}|${PREFIX}|g' ${WRKSRC}/config.h
+
.include <bsd.port.mk>