1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Fix build

PR:             110299
Submitted by:   trasz
This commit is contained in:
Martin Wilke 2007-03-28 09:29:38 +00:00
parent 73bc0390dc
commit 8b71f8c415
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=188647
2 changed files with 15 additions and 1 deletions

View File

@ -33,7 +33,7 @@ CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-sound
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
SDL_CONFIG="${SDL_CONFIG}"
USE_AUTOTOOLS= automake:14 autoconf:213
USE_AUTOTOOLS= automake:19 autoconf:259
CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}

View File

@ -0,0 +1,14 @@
--- Makefile.am.orig Wed Mar 14 18:18:08 2007
+++ Makefile.am Wed Mar 14 18:18:45 2007
@@ -24,9 +24,9 @@
endif
INCLUDES = -I/usr/local/include -I.
-LDFLAGS = -L/usr/local/lib $(LIBDIRS)
+AM_LDFLAGS = -L/usr/local/lib $(LIBDIRS)
LDADD = $(SLIBS) $(MYLIBS)
-CXXFLAGS = -DDATADIR="\"$(datadir)\"" $(SCXXFLAGS) $(CCXXFLAGS) $(DCXXFLAGS)
+AM_CXXFLAGS = -DDATADIR="\"$(datadir)\"" $(SCXXFLAGS) $(CCXXFLAGS) $(DCXXFLAGS)
bin_PROGRAMS = atr3d
atr3d_SOURCES = asteroid.cpp blit.cpp config.cpp fileutils.cpp game.cpp \