mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
Adjust a comment and move -fpermissive from CFLAGS into CXXFLAGS.
This commit is contained in:
parent
af877ce063
commit
63105ee455
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=285010
@ -29,7 +29,7 @@ USE_SDL= image sdl
|
||||
USE_SCONS= yes
|
||||
SCONS_ARGS= prefix=${PREFIX} resources_dir=${DATADIR}
|
||||
SCONS_BUILDENV= CC="${CC}" CXX="${CXX}" \
|
||||
CFLAGS="${CFLAGS} -fpermissive" CXXFLAGS="${CXXFLAGS}" \
|
||||
CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS} -fpermissive" \
|
||||
LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}" \
|
||||
CPPPATH="${LOCALBASE}/include" LIBPATH="${LOCALBASE}/lib"
|
||||
|
||||
@ -42,7 +42,7 @@ DESKTOP_ENTRIES="Battle Tanks" "${COMMENT}" "" "${PORTNAME}" \
|
||||
"Application;Game;" false
|
||||
|
||||
pre-build:
|
||||
# Must regenerate `sl08.h' after we patch `sl08.py' (patching header itself
|
||||
# Regenerate `sl08.h' after we patch `sl08.py' (as patching the header itself
|
||||
# would have resulted in a larger diff and gratuitous difference with Debian)
|
||||
@cd ${WRKSRC} && python engine/sl08/sl08.py > engine/sl08/sl08.h
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user