aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorkmoore <kmoore@FreeBSD.org>2009-06-25 22:48:57 +0800
committerkmoore <kmoore@FreeBSD.org>2009-06-25 22:48:57 +0800
commita05abde4f1ed9f5c5dbed8d796942d1e5a302ff3 (patch)
tree815813b6d6cb7ef0c2b16034da161b8ad0a39360 /print
parent1f7fbefd97a6bd19b525e9d8bd912f8b3aba5f04 (diff)
downloadfreebsd-ports-gnome-a05abde4f1ed9f5c5dbed8d796942d1e5a302ff3.tar.gz
freebsd-ports-gnome-a05abde4f1ed9f5c5dbed8d796942d1e5a302ff3.tar.zst
freebsd-ports-gnome-a05abde4f1ed9f5c5dbed8d796942d1e5a302ff3.zip
- Fix build with custom prefix
PR: 135483 Approved by: miwi (mentor) and maintainer timeout (dinoex; 14 days)
Diffstat (limited to 'print')
-rw-r--r--print/cups-base/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile
index 3d7940816ba3..c0d5045cc889 100644
--- a/print/cups-base/Makefile
+++ b/print/cups-base/Makefile
@@ -227,7 +227,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|htmlview|xdg-open|' ${WRKSRC}/desktop/cups.desktop
.endif
@${REINPLACE_CMD} -e '/SILENT/d' ${WRKSRC}/Makedefs.in
- @${REINPLACE_CMD} -e 's|/etc/cups|/usr/local/etc/cups|g' ${WRKSRC}/man/*.man*
+ @${REINPLACE_CMD} -e 's|/etc/cups|${LOCALBASE}/etc/cups|g' ${WRKSRC}/man/*.man*
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/scheduler/cups-driverd.c
@${REINPLACE_CMD} -e 's|CXX="$$CC"||g ; s|-lpthreads.*;|${PTHREAD_LIBS};|g' \
-e 's|/private/etc/pam.d|${LOCALBASE}/etc/pam.d|' \
${WRKSRC}/${CONFIGURE_SCRIPT}