diff options
author | miwi <miwi@FreeBSD.org> | 2008-04-20 01:56:05 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-04-20 01:56:05 +0800 |
commit | bce9b81f9d6099820f3839d7809d6b08c1d2ae7b (patch) | |
tree | f5dd7c3a8dbebad79bdb5e844aeb69c59a9fd12c /games/xbomb | |
parent | 2eea5f1d2e44418020f8f4db08d40bea6915b6e8 (diff) | |
download | freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.gz freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.zst freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.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/xbomb')
-rw-r--r-- | games/xbomb/Makefile | 2 | ||||
-rw-r--r-- | games/xbomb/files/patch-hiscore.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/games/xbomb/Makefile b/games/xbomb/Makefile index 6cf711205e44..0d6259197100 100644 --- a/games/xbomb/Makefile +++ b/games/xbomb/Makefile @@ -25,7 +25,7 @@ PLIST_FILES= bin/xbomb \ PLIST_DIRS= lib/X11/xbomb do-build: - cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} -DX11BASE=\"${X11BASE}\" \ + cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} -DLOCALBASE=\"${LOCALBASE}\" \ `pkg-config --cflags xaw8` *.c -o xbomb \ `pkg-config --libs xaw8` diff --git a/games/xbomb/files/patch-hiscore.c b/games/xbomb/files/patch-hiscore.c index 5ea85294a405..6d7a940dde31 100644 --- a/games/xbomb/files/patch-hiscore.c +++ b/games/xbomb/files/patch-hiscore.c @@ -5,9 +5,9 @@ /*+ The names of the high score tables. +*/ -static char *filenames[NTYPES]={"/var/tmp/xbomb6.hi","/var/tmp/xbomb4.hi","/var/tmp/xbomb3.hi"}; -+static char *filenames[NTYPES]={X11BASE"/lib/X11/xbomb/xbomb6.hi", -+ X11BASE"/lib/X11/xbomb/xbomb4.hi", -+ X11BASE"/lib/X11/xbomb/xbomb3.hi"}; ++static char *filenames[NTYPES]={LOCALBASE"/lib/X11/xbomb/xbomb6.hi", ++ LOCALBASE"/lib/X11/xbomb/xbomb4.hi", ++ LOCALBASE"/lib/X11/xbomb/xbomb3.hi"}; /*+ The names of the positions in the high score tables. +*/ static char pos[11][5]={"Top","2nd","3rd","4th","5th","6th","7th","8th","9th","10th","Lost"}; |