aboutsummaryrefslogtreecommitdiff
path: root/net/mpd
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>2004-08-03 01:41:52 +0000
committerArchie Cobbs <archie@FreeBSD.org>2004-08-03 01:41:52 +0000
commit5c685f8742c7cdac80a4df14a69fde90d4156925 (patch)
tree6f78a4a2214ab9f7f0a04cb533cd992ac21940b9 /net/mpd
parent28dc29180affa9767cf1fbd7e5a539d7a285b456 (diff)
downloadports-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/Makefile12
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