diff options
author | makc <makc@FreeBSD.org> | 2010-09-26 04:13:37 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2010-09-26 04:13:37 +0800 |
commit | 89cac7d1e539d34c1ee60eae1fa7f82807c5ec3c (patch) | |
tree | 8b423d6c8d7eb165b9670b3faf1f50206b34fbba /games | |
parent | d9657ad751c39b1c8ff478f24d17e1b37e48c29f (diff) | |
download | freebsd-ports-gnome-89cac7d1e539d34c1ee60eae1fa7f82807c5ec3c.tar.gz freebsd-ports-gnome-89cac7d1e539d34c1ee60eae1fa7f82807c5ec3c.tar.zst freebsd-ports-gnome-89cac7d1e539d34c1ee60eae1fa7f82807c5ec3c.zip |
Fix build
Reported by: pointyhat
Diffstat (limited to 'games')
-rw-r--r-- | games/searchandrescue/files/patch-sar__Makefile | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/games/searchandrescue/files/patch-sar__Makefile b/games/searchandrescue/files/patch-sar__Makefile index 97f13a002a24..f9d8aa908fd3 100644 --- a/games/searchandrescue/files/patch-sar__Makefile +++ b/games/searchandrescue/files/patch-sar__Makefile @@ -3,15 +3,15 @@ @@ -1,12 +1,12 @@ # Platform Configurator generated Makefile # --PREFIX = /usr +-PREFIX = $(DESTDIR)/usr/ +PREFIX = %%PREFIX%% --CFLAGS = -Wall -O2 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -D__USE_BSD -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE -Wno-write-strings -DHAVE_SDL_MIXER -I/usr/local/include +-CFLAGS = -Wall -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -D__USE_BSD -DHAVE_SDL_MIXER -Wno-write-strings -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE +CFLAGS = -Wall -O6 -funroll-loops -fomit-frame-pointer -ffast-math -D__USE_BSD -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE -DHAVE_SDL_MIXER -I/usr/local/include INC_DIRS = --LIBS = -lm -lSM -lICE -lX11 -lXext -lXi -lXmu -lXpm -lXxf86vm -lGL -lGLU -lpthread -lSDL -lSDL_mixer +-LIBS = -lm -lSDL -lSDL_mixer -lSM -lICE -lX11 -lXext -lXmu -lXpm -lXxf86vm -lGL -lGLU -lpthread +LIBS = -lm -lSM -lICE -lX11 -lXext -lXmu -lXpm -lXxf86vm -lGL -lGLU -lSDL -lSDL_mixer LIB_DIRS = -L/usr/X11R6/lib/ -L/usr/X11R6/lib/ -L/usr/X11R6/lib/ @@ -25,15 +25,3 @@ RM = rm RMFLAGS = -f -@@ -56,9 +56,8 @@ - @echo "Building program \"$(BIN)\"..." - - postbuild: -- @echo "Build done. To install..." -- @echo "On Ubuntu and related distributions type \"sudo make install\"." -- @echo "On most other distributions, type \"su\" to gain root privileges and then type \"make install\"." -+ @echo "Build done." -+ @echo "To install, type \"su\" (to gain root privileges) and then type \"make install\"." - - all: $(BIN) - |