aboutsummaryrefslogtreecommitdiff
path: root/mail/libdomainkeys/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-02-25 18:11:37 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-02-25 18:11:37 +0000
commit6833446d9bf4ab75728a4b6e84e7b5c49939ea99 (patch)
treec89c1d17bfd33f3ceb3e07b3e9c4856503ca3b73 /mail/libdomainkeys/Makefile
parent0eb93750769fbefecdbf8d2059ef20d82b26e1b0 (diff)
downloadports-6833446d9bf4ab75728a4b6e84e7b5c49939ea99.tar.gz
ports-6833446d9bf4ab75728a4b6e84e7b5c49939ea99.zip
- Fix build on current
- Simplify custom makefile handling
Notes
Notes: svn path=/head/; revision=409547
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}