1
0
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:
Alexey Dokuchaev 2011-11-04 02:16:37 +00:00
parent af877ce063
commit 63105ee455
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=285010

View File

@ -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