aboutsummaryrefslogtreecommitdiff
path: root/net/mpd
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>2004-11-05 04:18:45 +0000
committerArchie Cobbs <archie@FreeBSD.org>2004-11-05 04:18:45 +0000
commitf9153706331005b41412d2762d80bfba732518fe (patch)
treef95e9e9bb02cfb23c043f68155117d2067e35a93 /net/mpd
parent036408a3cccd71ac770f19598ee8ae9aea49396d (diff)
downloadports-f9153706331005b41412d2762d80bfba732518fe.tar.gz
ports-f9153706331005b41412d2762d80bfba732518fe.zip
Pass COPTS to make.
PR: ports/72346
Notes
Notes: svn path=/head/; revision=120831
Diffstat (limited to 'net/mpd')
-rw-r--r--net/mpd/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/net/mpd/Makefile b/net/mpd/Makefile
index 5b0b87f00779..25a32b2121a5 100644
--- a/net/mpd/Makefile
+++ b/net/mpd/Makefile
@@ -21,13 +21,9 @@ 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
+MAKE_ENV= COPTS="${COPTS} -I${OPENSSLINC}" LDADD="${LDADD} -L${OPENSSLLIB}"
+
+.include <bsd.port.pre.mk>
pre-build:
@${ECHO}
@@ -37,4 +33,4 @@ pre-build:
post-install:
@${INSTALL_SCRIPT} -m 751 ${FILESDIR}/mpd.sh ${PREFIX}/etc/rc.d/mpd.sh.sample
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>