opnsense-ports/games/adonthell/files/patch-src_Makefile.in
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

17 lines
807 B
Text

--- src/Makefile.in.orig 2008-05-29 19:00:50.000000000 +0000
+++ src/Makefile.in
@@ -769,13 +769,12 @@ uninstall-am: uninstall-binPROGRAMS
# Note: adonthell.py is also built by this target.
py_adonthell_wrap.cc : py_adonthell.i $(headers)
- @if test "${P_SWIG}"; then \
+ @if [ "${P_SWIG}" != "no" ]; then \
echo ${P_SWIG} -python -modern -shadow ${SDL_CFLAGS} -I$(srcdir) -I$(top_srcdir) -c++ -makedefault -o $(srcdir)/$*.cc $(srcdir)/py_adonthell.i; \
${P_SWIG} -python -modern -shadow ${SDL_CFLAGS} -I$(srcdir) -I$(top_srcdir) -c++ -makedefault -o $(srcdir)/$*.cc $(srcdir)/py_adonthell.i; \
mv $(srcdir)/adonthell.py modules/adonthell.py; \
else \
echo "You need swig >= ${SWIG_MINVER} in order to re-build this file."; \
- exit 1; \
fi;
lex.prefs.cc : prefs.l