3e4ed01146
- 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)
11 lines
541 B
Text
11 lines
541 B
Text
--- makefile.orig Sun Mar 6 16:36:47 2005
|
|
+++ makefile Thu Apr 6 02:54:20 2006
|
|
@@ -1,5 +1,5 @@
|
|
-LIBRARIES = `sdl-config --libs` -L/usr/X11R6/lib -lSDL_mixer -lSDL_image -lGL -lGLU -lpng -ljpeg
|
|
-CFLAGS = -w -O3 -I/usr/include/GL `sdl-config --cflags`
|
|
+LIBRARIES = `${SDL_CONFIG} --libs` -L${LOCALBASE}/lib -lSDL_mixer -lSDL_image -lGL -lGLU -lpng -ljpeg
|
|
+CXXFLAGS += `${SDL_CONFIG} --cflags` -I${LOCALBASE}/include
|
|
|
|
all:
|
|
- g++ $(CFLAGS) -o solar ./source/main.cpp $(LIBRARIES)
|
|
+ ${CXX} ${CXXFLAGS} -o solar ./source/main.cpp ${LIBRARIES}
|