1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/games/xblast/files/patch-aa
Stefan Eßer 4ba25a6bcf Fix Imakefile: There is no man page for xbsndsrv, but the imake rules
require one. The quick and dirty trick is to replace the InstallManPage
macro by an empty definition.

Clean up the man page installation, while I'm here ...

PR:		21045
2000-10-20 21:14:32 +00:00

28 lines
774 B
Plaintext

--- Imakefile.orig Wed Jul 28 21:36:20 1999
+++ Imakefile Tue Oct 17 20:23:46 2000
@@ -25,7 +25,9 @@
* If you want to have sound, comment the following line
* Set SOUND_DIR to the directory, where the sounds can be found
*/
-EXTRA_DEFINES=-DXBLASTDIR=\"$(XBLASTDIR)\" -DXBLAST_SOUND
+EXTRA_DEFINES=-DXBLASTDIR=\"$(DESTDIR)$(XBLASTDIR)\" \
+ -DAPPLOADDIR=\"$(DESTDIR)$(XAPPLOADDIR)\" \
+ -DXBLAST_SOUND
/*
* all programs to be build
@@ -71,6 +73,13 @@
SRCS2 = xbsndsrv.c
OBJS2 = xbsndsrv.o
+/*
+ * The following is a terrible hack, but there is no man page
+ * and ComplexProgramTarget always wants to install one ...
+ */
+#undef InstallManPage
+#define InstallManPage(p,d)
+
ComplexProgramTarget_2(xbsndsrv,NullParameter,NullParameter)
/*