1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00

- Fix build on < 10.x

- Respect CC

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2015-04-15 13:54:43 +00:00
parent 308fda13e1
commit b04ae4ddc9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=384052
2 changed files with 7 additions and 1 deletions

View File

@ -31,6 +31,12 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${OSVERSION} < 1000000
LIB_DEPENDS+= libexecinfo.so:${PORTSDIR}/devel/libexecinfo
CFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
.endif
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}

View File

@ -5,7 +5,7 @@
# This is my compiler of choice, it seems to work most everywhere
#
-CC = gcc
+CC = cc
+CC ?= cc
# For allowing #if..#else..#endif constructs in LUA files - C. Blue
# Note: The flags must contain