mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
Pass COPTS to make.
PR: ports/72346
This commit is contained in:
parent
036408a3cc
commit
f915370633
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120831
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user