aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorKris Moore <kmoore@FreeBSD.org>2009-06-25 14:48:57 +0000
committerKris Moore <kmoore@FreeBSD.org>2009-06-25 14:48:57 +0000
commita2ec5db087145b0555b8edbb35c0c820fd15ff4e (patch)
tree59d8eec9e87d4a4c8134ddc81faa2b1384714f1a /print
parent36adcf8c6b041841eadcd6a1cefa32754180331f (diff)
downloadports-a2ec5db087145b0555b8edbb35c0c820fd15ff4e.tar.gz
ports-a2ec5db087145b0555b8edbb35c0c820fd15ff4e.zip
- Fix build with custom prefix
PR: 135483 Approved by: miwi (mentor) and maintainer timeout (dinoex; 14 days)
Notes
Notes: svn path=/head/; revision=236620
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}