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:
parent
308fda13e1
commit
b04ae4ddc9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=384052
@ -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}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user