diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2001-10-17 15:43:08 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2001-10-17 15:43:08 +0000 |
commit | 5c9c05f1a5406a3889f410c2b1b43d6030cf7d98 (patch) | |
tree | 01c44ea9de1e30dabd5f48b3622fda73c3c8a1ac /comms | |
parent | Add pop:mail automatically (diff) |
Prepend the bsd.port.pre.mk to the conditional patching
/usr/local -> ${LOCALBASE}. The condition was, naturally
${LOCALBASE} != /usr/local, but the value of LOCALBASE
is not necessarily known without bsd.port.pre.mk. Sorry
for the breakage.
Submitted by: Brian Dean, Dan Langille
Notes
Notes:
svn path=/head/; revision=48871
Diffstat (limited to 'comms')
-rw-r--r-- | comms/hylafax/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/comms/hylafax/Makefile b/comms/hylafax/Makefile index ccc7b13ca281..70da04e2aaa2 100644 --- a/comms/hylafax/Makefile +++ b/comms/hylafax/Makefile @@ -58,13 +58,6 @@ SUID_EXES= ${PREFIX}/sbin/faxgetty ${PREFIX}/sbin/faxq \ post-extract: ${RM} -rf ${WRKSRC}/zlib ${WRKSRC}/regex -.if ${LOCALBASE} != "/usr/local" -post-patch: - ${PERL} -pi -e 's^/usr/local^${LOCALBASE}^g' \ - `find work/hylafax-4.1 -type f -print0 | \ - xargs -0 fgrep -l --mmap /usr/local` -.endif - post-install: ${CHOWN} uucp ${SUID_EXES} ${CHMOD} 4555 ${SUID_EXES} @@ -75,4 +68,13 @@ post-install: fi @${SED} 's^/usr/local^${PREFIX}^g' < ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${LOCALBASE} != /usr/local +post-patch: + ${PERL} -pi -e 's^/usr/local^${LOCALBASE}^g' \ + `find work/hylafax-4.1 -type f -print0 | \ + xargs -0 fgrep -l --mmap /usr/local` +.endif + +.include <bsd.port.post.mk> |