diff options
author | lioux <lioux@FreeBSD.org> | 2001-03-23 23:57:14 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2001-03-23 23:57:14 +0800 |
commit | f13fce7fdfee67f2c152fd73c651c4b7da6dd21c (patch) | |
tree | 92ae6f2d8eebfc7c777ce95e76791b7cc5d9d331 /mail/cclient | |
parent | 042aea7e380ab9b7399e0d253ca0c923be7a58fb (diff) | |
download | freebsd-ports-graphics-f13fce7fdfee67f2c152fd73c651c4b7da6dd21c.tar.gz freebsd-ports-graphics-f13fce7fdfee67f2c152fd73c651c4b7da6dd21c.tar.zst freebsd-ports-graphics-f13fce7fdfee67f2c152fd73c651c4b7da6dd21c.zip |
Help it be PREFIX safe.
Approved by: MAINTAINER
Diffstat (limited to 'mail/cclient')
-rw-r--r-- | mail/cclient/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mail/cclient/Makefile b/mail/cclient/Makefile index 7492e19e982..be9ecb4043c 100644 --- a/mail/cclient/Makefile +++ b/mail/cclient/Makefile @@ -26,12 +26,21 @@ SHLIBNAME= lib${SHLIBBASE}.so.${SHLIBMAJ} MAKE_ENV= SHLIBNAME=${SHLIBNAME} SHLIBBASE=${SHLIBBASE} PLIST_SUB= SHLIBNAME=${SHLIBNAME} SHLIBBASE=${SHLIBBASE} +PREFIX_FIX_FILES= Makefile src/osdep/unix/Makefile \ + src/osdep/unix/Makefile.gss \ + src/osdep/unix/Makefile.ssl + .include <bsd.port.pre.mk> .if ${PORTOBJFORMAT} == "aout" SHLIBNAME= lib${SHLIBBASE}.so.${SHLIBMAJ}.0 .endif +post-patch: +.for file in ${PREFIX_FIX_FILES} + @${PERL} -pi -ne "s!/usr/local!${PREFIX}!g" ${WRKSRC}/${file} +.endfor + post-configure: @${ECHO_MSG} ">> The c-client shared library will be named ${SHLIBNAME}" |