diff options
author | steve <steve@FreeBSD.org> | 2000-01-24 13:59:29 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-01-24 13:59:29 +0800 |
commit | ced1244669a8fceb1ad0913effca0ea1be53cfc9 (patch) | |
tree | 0bad31e3f63a36d4749c4f045b547ad6e6f168b8 /games | |
parent | a99d2b860c5b173e9466515263db28904e8cdee7 (diff) | |
download | freebsd-ports-gnome-ced1244669a8fceb1ad0913effca0ea1be53cfc9.tar.gz freebsd-ports-gnome-ced1244669a8fceb1ad0913effca0ea1be53cfc9.tar.zst freebsd-ports-gnome-ced1244669a8fceb1ad0913effca0ea1be53cfc9.zip |
- Support CC/CFLAGS properly
- Sort pkg/PLIST
PR: 16280
Submitted by: KATO Tsuguru tkato@prontomail.ne.jp
Diffstat (limited to 'games')
-rw-r--r-- | games/xsok/files/patch-aa | 48 | ||||
-rw-r--r-- | games/xsok/pkg-plist | 2 |
2 files changed, 47 insertions, 3 deletions
diff --git a/games/xsok/files/patch-aa b/games/xsok/files/patch-aa index 6bcb1b6fe72c..7c22f76235c9 100644 --- a/games/xsok/files/patch-aa +++ b/games/xsok/files/patch-aa @@ -1,5 +1,5 @@ ---- src/Imakefile.orig Sun Mar 17 12:54:27 1996 -+++ src/Imakefile Sat Feb 7 15:31:54 1998 +--- src/Imakefile.orig Sun Mar 17 20:54:27 1996 ++++ src/Imakefile Tue Jan 18 00:00:00 2000 @@ -46,17 +46,17 @@ # BINDIR and LIBDIR should be predefined by the templates # BINDIR = /usr/bin/X11 @@ -32,6 +32,23 @@ # ***************************************************************************** # I hope you don't need to change anything below this point +@@ -74,14 +74,14 @@ + CC = c89 + CCOPTIONS = + #else +-CC = gcc ++XCOMM CC = gcc + #ifdef EXTRA_WARNINGS + CCOPTIONS = -O2 -pipe -ansi -fno-common -Wall -Wshadow -Wpointer-arith \ + -Wcast-qual -Wcast-align -Waggregate-return \ + -Wstrict-prototypes -Wmissing-prototypes \ + -Wnested-externs -Wwrite-strings + #else +-CCOPTIONS = -O2 -pipe -ansi -Wall -fno-common ++XCOMM CCOPTIONS = -O2 -pipe -ansi -Wall -fno-common + #endif + #endif + @@ -109,7 +109,7 @@ # *.c require version.h xsok.h # X*.c additionally require X-sok.h and Tableau.h @@ -41,3 +58,30 @@ all:: $(ALLTARGETS) +@@ -132,9 +132,9 @@ + + # the install targets require that make has been run in the lib directory + install:: $(MYPROGS) +- (umask 022 && mkdirhier $(XSOKLIBDIR)) ++ (umask 022 && $(MKDIRHIER) $(XSOKLIBDIR)) + # chmod 755 $(XSOKLIBDIR) +- (umask 022 && mkdirhier $(XSOKSAVEDIR)) ++ (umask 022 && $(MKDIRHIER) $(XSOKSAVEDIR)) + chmod 777 $(XSOKSAVEDIR) + (cd ../lib; tar cf - $(LIBCONTS) | (cd $(XSOKLIBDIR); tar xf -)) + chown -R root $(XSOKLIBDIR) $(XSOKSAVEDIR) +@@ -142,12 +142,12 @@ + (cd ../lib && ../src/mergescores $(XSOKSAVEDIR)/Xsok.score \ + $(XSOKSAVEDIR)/Sokoban.score $(XSOKSAVEDIR)/Cyberbox.score) + chmod 666 $(XSOKSAVEDIR)/[A-z]*.score +- (umask 022 && mkdirhier $(XSOKDOCDIR)) ++ (umask 022 && $(MKDIRHIER) $(XSOKDOCDIR)) + if [ -r ../doc/xsok.dvi ]; then cp ../doc/xsok.dvi $(XSOKDOCDIR); fi + cp ../doc/cyberbox.doc $(XSOKDOCDIR) + cp ../etc/COPYRIGHT* $(XSOKDOCDIR) + chmod -R a+r $(XSOKDOCDIR) +- mkdirhier $(XSOKMANDIR) ++ $(MKDIRHIER) $(XSOKMANDIR) + cp xsok.man $(XSOKMANDIR)/xsok.6x + chmod 644 $(XSOKMANDIR)/xsok.6x + diff --git a/games/xsok/pkg-plist b/games/xsok/pkg-plist index db235e9222e5..cde043c4370a 100644 --- a/games/xsok/pkg-plist +++ b/games/xsok/pkg-plist @@ -18,5 +18,5 @@ share/doc/xsok/COPYRIGHT.xpm share/doc/xsok/COPYRIGHT.xsok share/doc/xsok/cyberbox.doc share/doc/xsok/xsok.tex -@dirrm lib/X11/xsok @dirrm share/doc/xsok +@dirrm lib/X11/xsok |