diff options
author | archie <archie@FreeBSD.org> | 2004-08-03 09:41:52 +0800 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 2004-08-03 09:41:52 +0800 |
commit | 251ce234aef6ac6b61c044d4cbd28c88fd52a0ac (patch) | |
tree | ddf5e501be30ad6fe80a3a4cc7f342f8a0bef0d0 /net/mpd | |
parent | 764d9edb560d3bbe0c8c4b9fe381b3743dd24d88 (diff) | |
download | freebsd-ports-gnome-251ce234aef6ac6b61c044d4cbd28c88fd52a0ac.tar.gz freebsd-ports-gnome-251ce234aef6ac6b61c044d4cbd28c88fd52a0ac.tar.zst freebsd-ports-gnome-251ce234aef6ac6b61c044d4cbd28c88fd52a0ac.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
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 |