aboutsummaryrefslogtreecommitdiff
path: root/mail/cclient
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-03-23 15:57:14 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-03-23 15:57:14 +0000
commit63522304e0bbe698cb962542cb93e658e15bc32f (patch)
tree9359651b3a2270c73334e674297c9fd06a8a173b /mail/cclient
parent18a209367d85d79252d6d6d79c0874609e416eab (diff)
downloadports-63522304e0bbe698cb962542cb93e658e15bc32f.tar.gz
ports-63522304e0bbe698cb962542cb93e658e15bc32f.zip
Help it be PREFIX safe.
Approved by: MAINTAINER
Notes
Notes: svn path=/head/; revision=40275
Diffstat (limited to 'mail/cclient')
-rw-r--r--mail/cclient/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/mail/cclient/Makefile b/mail/cclient/Makefile
index 7492e19e982a..be9ecb4043c6 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}"