aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2004-11-05 12:18:45 +0800
committerarchie <archie@FreeBSD.org>2004-11-05 12:18:45 +0800
commitf2f983c0d917b9d0b60bf820a8c27472d1aa6c69 (patch)
treec430e70037c45344015ecd09e2a822b835bffa10 /net
parentc25646966a4a59ec3c08547181fbe19ea282c232 (diff)
downloadfreebsd-ports-gnome-f2f983c0d917b9d0b60bf820a8c27472d1aa6c69.tar.gz
freebsd-ports-gnome-f2f983c0d917b9d0b60bf820a8c27472d1aa6c69.tar.zst
freebsd-ports-gnome-f2f983c0d917b9d0b60bf820a8c27472d1aa6c69.zip
Pass COPTS to make.
PR: ports/72346
Diffstat (limited to 'net')
-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>