diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-02-26 02:11:37 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-02-26 02:11:37 +0800 |
commit | 8a3ff779a9b481c0f75360c38fa9669603718f7a (patch) | |
tree | c89c1d17bfd33f3ceb3e07b3e9c4856503ca3b73 /mail/libdomainkeys | |
parent | 409b33366a59762c7c2d13925792a88c5c9e7dab (diff) | |
download | freebsd-ports-gnome-8a3ff779a9b481c0f75360c38fa9669603718f7a.tar.gz freebsd-ports-gnome-8a3ff779a9b481c0f75360c38fa9669603718f7a.tar.zst freebsd-ports-gnome-8a3ff779a9b481c0f75360c38fa9669603718f7a.zip |
- Fix build on current
- Simplify custom makefile handling
Diffstat (limited to 'mail/libdomainkeys')
-rw-r--r-- | mail/libdomainkeys/Makefile | 5 | ||||
-rw-r--r-- | mail/libdomainkeys/files/Makefile | 3 |
2 files changed, 3 insertions, 5 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} diff --git a/mail/libdomainkeys/files/Makefile b/mail/libdomainkeys/files/Makefile index 8e415991cedb..0f8ee67855e0 100644 --- a/mail/libdomainkeys/files/Makefile +++ b/mail/libdomainkeys/files/Makefile @@ -4,8 +4,6 @@ LIB = domainkeys SRCS= dns_txt.c domainkeys.c dktrace.c INCS= domainkeys.h dktrace.h -SHLIB_MAJOR= %%SHLIB_MAJOR%% - LIBDIR= ${PREFIX}/lib INCLUDEDIR= ${PREFIX}/include CFLAGS+= -DBIND_8_COMPAT -I${OPENSSLBASE}/include @@ -14,6 +12,7 @@ LDFLAGS+= -lcrypto -L${OPENSSLBASE}/lib NO_PROFILE= makeheader: makeheader.c + ${CC} ${CFLAGS} makeheader.c -o makeheader domainkeys.h: domainkeys.c makeheader ./makeheader <domainkeys.c >domainkeys.h |