diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2005-10-18 18:33:22 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2005-10-18 18:33:22 +0000 |
commit | e30952839d1c2620a56c5a4cc309218e305c0293 (patch) | |
tree | 2f02bf2a0858d41354d324ec9547eee0f411b02d /print | |
parent | d1fea40537fe71039c6293b9ecef1c1a8b25f364 (diff) |
Notes
Diffstat (limited to 'print')
-rw-r--r-- | print/foomatic-db-hpijs/Makefile | 5 | ||||
-rw-r--r-- | print/foomatic-db-hpijs/files/patch-configure | 24 |
2 files changed, 27 insertions, 2 deletions
diff --git a/print/foomatic-db-hpijs/Makefile b/print/foomatic-db-hpijs/Makefile index 253b42ff86e5..63b809315327 100644 --- a/print/foomatic-db-hpijs/Makefile +++ b/print/foomatic-db-hpijs/Makefile @@ -19,5 +19,10 @@ RUN_DEPENDS= ${LOCALBASE}/share/foomatic/db/oldprinterids:${PORTSDIR}/print/foom GNU_CONFIGURE= yes USE_GMAKE= yes +USE_REINPLACE= yes + +post-patch: + ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ + -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/configure .include <bsd.port.mk> diff --git a/print/foomatic-db-hpijs/files/patch-configure b/print/foomatic-db-hpijs/files/patch-configure index 21cd21aa9ecb..b204a43ea0f0 100644 --- a/print/foomatic-db-hpijs/files/patch-configure +++ b/print/foomatic-db-hpijs/files/patch-configure @@ -1,5 +1,14 @@ ---- configure.orig Sat Sep 17 02:25:59 2005 -+++ configure Sat Sep 17 02:26:04 2005 +--- configure.orig Wed May 21 23:01:15 2003 ++++ configure Tue Oct 18 20:23:45 2005 +@@ -9,7 +9,7 @@ + + # Defaults: + ac_help= +-ac_default_prefix=/usr/local ++ac_default_prefix=%%PREFIX%% + # Any additions from configure.in: + + # Initialize some variables set by options. @@ -522,7 +522,7 @@ @@ -9,3 +18,14 @@ sysconfdir=/etc fi +@@ -658,8 +658,8 @@ + fi + + +-BINSEARCHPATH=/usr/bin:/bin:/usr/local/bin +-DATASEARCHPATH=/usr/share:/usr/local/share:/usr/lib:/usr/local/lib:/opt ++BINSEARCHPATH=/usr/bin:/bin:%%LOCALBASE%%/bin ++DATASEARCHPATH=/usr/share:%%LOCALBASE%%/share:/usr/lib:%%LOCALBASE%%/lib:/opt + + for ac_prog in perl + do |