summaryrefslogtreecommitdiffstats
path: root/net/mpd
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2004-11-05 04:18:45 +0000
committerarchie <archie@FreeBSD.org>2004-11-05 04:18:45 +0000
commitf2f983c0d917b9d0b60bf820a8c27472d1aa6c69 (patch)
treec430e70037c45344015ecd09e2a822b835bffa10 /net/mpd
parentc25646966a4a59ec3c08547181fbe19ea282c232 (diff)
downloadFreeBSD-ports-f2f983c0d917b9d0b60bf820a8c27472d1aa6c69.zip
FreeBSD-ports-f2f983c0d917b9d0b60bf820a8c27472d1aa6c69.tar.gz
Pass COPTS to make.
PR: ports/72346
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 5b0b87f0..25a32b2 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>
OpenPOWER on IntegriCloud