diff options
author | Archie Cobbs <archie@FreeBSD.org> | 2004-08-03 01:41:52 +0000 |
---|---|---|
committer | Archie Cobbs <archie@FreeBSD.org> | 2004-08-03 01:41:52 +0000 |
commit | 5c685f8742c7cdac80a4df14a69fde90d4156925 (patch) | |
tree | 6f78a4a2214ab9f7f0a04cb533cd992ac21940b9 /net/mpd | |
parent | 28dc29180affa9767cf1fbd7e5a539d7a285b456 (diff) | |
download | ports-5c685f8742c7cdac80a4df14a69fde90d4156925.tar.gz ports-5c685f8742c7cdac80a4df14a69fde90d4156925.zip |
Try to make things work rationally with either OpenSSL (base or ports).
Using the ports version requires setting a special make flag.
PR: ports/56364
PR: ports/61546
Notes
Notes:
svn path=/head/; revision=115323
Diffstat (limited to 'net/mpd')
-rw-r--r-- | net/mpd/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/net/mpd/Makefile b/net/mpd/Makefile index fe1c0109fb59..404325394797 100644 --- a/net/mpd/Makefile +++ b/net/mpd/Makefile @@ -19,8 +19,18 @@ MTREE_FILE= ${FILESDIR}/mpd.mtree MAN8= mpd.8 MANCOMPRESSED= maybe -USE_OPENSSL= yes +.if defined(WITH_OPENSSL_PORT) +USE_OPENSSL_PORT=yes MAKE_ENV= COPTS=-I${OPENSSLINC} LDADD=-L${OPENSSLLIB} +.else +USE_OPENSSL_BASE=yes +MAKE_ENV= COPTS=-I${OPENSSLINC} +.endif + +pre-build: + @${ECHO} + @${ECHO} "Use WITH_OPENSSL_PORT=yes if you use OPENSSL from ports" + @${ECHO} post-install: @${INSTALL_SCRIPT} -m 751 ${FILESDIR}/mpd.sh ${PREFIX}/etc/rc.d/mpd.sh.sample |