summaryrefslogtreecommitdiff
path: root/mail/libdomainkeys/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/libdomainkeys/Makefile')
-rw-r--r--mail/libdomainkeys/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/mail/libdomainkeys/Makefile b/mail/libdomainkeys/Makefile
index 344bdaa21f53..3b4d61fb7153 100644
--- a/mail/libdomainkeys/Makefile
+++ b/mail/libdomainkeys/Makefile
@@ -13,13 +13,12 @@ USES= uidfix
USE_LDCONFIG= yes
SHLIB_MAJOR= 3
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
+MAKE_ENV= SHLIB_MAJOR="${SHLIB_MAJOR}"
USE_OPENSSL= yes
post-patch:
- ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev
- @${SED} -e "s=%%SHLIB_MAJOR%%=${SHLIB_MAJOR}=g" \
- ${FILESDIR}/Makefile > ${WRKSRC}/Makefile
+ @${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile
post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}