diff options
author | lofi <lofi@FreeBSD.org> | 2005-10-19 02:33:22 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2005-10-19 02:33:22 +0800 |
commit | 67db65c97cd317e5cab7f3cecc46be0106452199 (patch) | |
tree | e2a13a0913b293b4f674ecce0184661d602af9be /print/foomatic-db-hpijs/Makefile | |
parent | 36f0c37b69a32aac5ee184bcbcc389d39d286b54 (diff) | |
download | freebsd-ports-gnome-67db65c97cd317e5cab7f3cecc46be0106452199.tar.gz freebsd-ports-gnome-67db65c97cd317e5cab7f3cecc46be0106452199.tar.zst freebsd-ports-gnome-67db65c97cd317e5cab7f3cecc46be0106452199.zip |
Make PREFIX-safe
Diffstat (limited to 'print/foomatic-db-hpijs/Makefile')
-rw-r--r-- | print/foomatic-db-hpijs/Makefile | 5 |
1 files changed, 5 insertions, 0 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> |