1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/games/xpat2/files/patch-ab
Matthew Hunt 394cf0d6b0 Correct manpage packaging problem.
PR:		ports/41095
Submitted by:	Adam Weinberger <adam@vectors.cx>
2002-08-05 22:50:12 +00:00

49 lines
2.0 KiB
Plaintext

--- Xpat.tmpl.orig Sun Nov 5 12:03:10 2000
+++ Xpat.tmpl Sun Jul 28 17:38:32 2002
@@ -40,9 +40,9 @@
XCOMM 1. Specify User Interface (_exactly_ one of the interfaces below)
#undef useXlib /* similar to xpat version 1.x, not all features */
-#undef useXaw /* the classic Athena based interface for xpat2 */
+#define useXaw /* the classic Athena based interface for xpat2 */
#undef useXview /* Xview / OpenLook interface */
-#define useXQt /* Qt widgets, playable, but NOT YET FINISHED */
+#undef useXQt /* Qt widgets, playable, but NOT YET FINISHED */
/* advice on Qt improvements from experienced
programmers welcome at Michael.Bischoff@gmx.net */
#undef useXm1 /* Motif based interface (first variant) */
@@ -57,7 +57,7 @@
XCOMM 4. Specify, if you want sound (must copy the appropriate sound module).
XCOMM Doesn't harm if you don't have a sound card.
-#define USE_SOUND
+#undef USE_SOUND
XCOMM SOUNDOBJ must be one module of X-sound_*.o.
XCOMM Ignored if USE_SOUND is OFF.
XCOMM Note: The default is to copy an .au-file to /dev/audio,
@@ -74,7 +74,7 @@
XCOMM 4.) Specify, if you want sound (must copy the appropriate sound module)
XCOMM SOUNDOBJ should be one module of X-sound_*.o if USE_SOUND is on, else empty
XCOMM Note: for X-sound_SUN.o, /dev/audio must have 666 permissions */
-#define USE_SOUND /* doesn't harm if you don't have a sound card */
+#undef USE_SOUND /* doesn't harm if you don't have a sound card */
XCOMM the default is to copy an .au-file to /dev/audio
SOUNDOBJ = X-sound_SUN.o
@@ -161,13 +161,14 @@
XCOMM #########################################################################
XCOMM Root directory of xpat2 installation
-XPATROOT = /usr/games/lib/xpat
+XPATROOT = $(PREFIX)/lib/xpat
XCOMM XPATROOT = /usr/local/lib/xpat
XCOMM XPATROOT = /opt/XPat2
XPATLIBDIR = $(XPATROOT)
APPDEFSDIR = $(LIBDIR)
XPATMANDIR = $(XPATROOT)/man/man6
+MANSUFFIX = 6
XCOMM This is the name of the log-file, where solved games are stored:
SCOREFILE = /var/games/xpat.log