aboutsummaryrefslogtreecommitdiffstats
path: root/games/el/files
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-20 01:56:05 +0800
committerMartin Wilke <miwi@FreeBSD.org>2008-04-20 01:56:05 +0800
commit3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch)
treed573ea09b2bf6be67cb497df199932da9e2707c4 /games/el/files
parent40049f4af2200d0dcf33596508688623fc75f764 (diff)
downloadfreebsd-ports-gnome-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz
freebsd-ports-gnome-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.zst
freebsd-ports-gnome-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
Diffstat (limited to 'games/el/files')
-rw-r--r--games/el/files/patch-Makefile.bsdg4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/el/files/patch-Makefile.bsdg b/games/el/files/patch-Makefile.bsdg
index 281882f69ad1..3a5baedbdd9a 100644
--- a/games/el/files/patch-Makefile.bsdg
+++ b/games/el/files/patch-Makefile.bsdg
@@ -15,7 +15,7 @@
-PLATFORM=-march=i686
-XDIR=-L/usr/X11R6/lib
-+XDIR=-L$(X11BASE)/lib -L$(LOCALBASE)/lib
++XDIR=-L$(LOCALBASE)/lib
CWARN=
#-Wdeclaration-after-statement -Wall -Werror
CPPWARN=
@@ -28,7 +28,7 @@
-_CXXFLAGS=$(PLATFORM) -O3 -fomit-frame-pointer -ffast-math -pipe $(OPTIONS)
+CFLAGS+=$(OPTIONS) $(shell sdl-config --cflags) $(shell xml2-config --cflags) -I/usr/X11R6/include/
+_CFLAGS=$(CFLAGS) $(OPTIONS) $(shell sdl-config --cflags) $(shell xml2-config --cflags)
-+CXXFLAGS+=-I$(LOCALBASE)/include -I$(X11BASE)/include $(OPTIONS)
++CXXFLAGS+=-I$(LOCALBASE)/include $(OPTIONS)
+_CXXFLAGS=$(CXXFLAGS) -fomit-frame-pointer -ffast-math -pipe $(OPTIONS)
-LDFLAGS=$(shell sdl11-config --libs) $(shell xml2-config --libs) -lSDL_net -lSDL_image -lopenal $(XDIR) -lGL -lGLU -lvorbis -lvorbisfile -lcal3d -lm -lpng