From f9153706331005b41412d2762d80bfba732518fe Mon Sep 17 00:00:00 2001 From: Archie Cobbs Date: Fri, 5 Nov 2004 04:18:45 +0000 Subject: [PATCH] Pass COPTS to make. PR: ports/72346 --- net/mpd/Makefile | 12 ++++-------- 1 file 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 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 +.include