diff options
author | tron <tron@pkgsrc.org> | 1998-02-17 23:47:48 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1998-02-17 23:47:48 +0000 |
commit | 2ef8f0f18b75c7888f5dd8a4a24c8ce6f858ce14 (patch) | |
tree | 9a32fa84f33d819aa28d9adb11201a264e1ecb04 /x11/xneko | |
parent | 676f8927c5b5dedd2ba133e8bb5ac451dab07312 (diff) | |
download | pkgsrc-2ef8f0f18b75c7888f5dd8a4a24c8ce6f858ce14.tar.gz |
Make this package work with NetBSD.
Diffstat (limited to 'x11/xneko')
-rw-r--r-- | x11/xneko/Makefile | 3 | ||||
-rw-r--r-- | x11/xneko/patches/patch-aa | 27 | ||||
-rw-r--r-- | x11/xneko/patches/patch-ab | 12 | ||||
-rw-r--r-- | x11/xneko/pkg/PLIST | 2 |
4 files changed, 23 insertions, 21 deletions
diff --git a/x11/xneko/Makefile b/x11/xneko/Makefile index 3659f80d3fa..c8ba9b69278 100644 --- a/x11/xneko/Makefile +++ b/x11/xneko/Makefile @@ -3,6 +3,7 @@ # Date created: 22 December 1995 # Whom: markm # +# $NetBSD: Makefile,v 1.2 1998/02/17 23:47:48 tron Exp $ # $FreeBSD Id: Makefile,v 1.6 1997/03/12 08:21:35 asami Exp # @@ -17,4 +18,6 @@ USE_X11= yes IGNOREFILES= ${DISTFILES} WRKSRC= ${WRKDIR}/pub/bsd-sources/4.4BSD-Lite/usr/src/games/xneko +MAN6= xneko.6 + .include <bsd.port.mk> diff --git a/x11/xneko/patches/patch-aa b/x11/xneko/patches/patch-aa index 483988a15c8..4456c9a48c6 100644 --- a/x11/xneko/patches/patch-aa +++ b/x11/xneko/patches/patch-aa @@ -1,37 +1,22 @@ -diff -udr ../xneko.BSD/Makefile ./Makefile ---- ../xneko.BSD/Makefile Tue Jun 1 03:46:11 1993 -+++ ./Makefile Fri Dec 22 19:16:13 1995 -@@ -1,8 +1,17 @@ +--- Makefile.orig Tue Jun 1 03:46:11 1993 ++++ Makefile Wed Feb 18 00:38:04 1998 +@@ -1,8 +1,16 @@ # @(#)Makefile 8.1 (Berkeley) 5/31/93 PROG= xneko -MAN6= xneko.0 -DPADD= ${LIBX} ${LIBM} -LDADD= -lX11/X11 -lm -+MAN6= xneko.6 ++MAN= xneko.6 + +DPADD+= ${X11BASE}/lib/libX11.a ${LIBM} +CFLAGS+= -I${X11BASE}/include -+LDDESTDIR+= -L${X11BASE}/lib -+LDADD+= -lX11 -lm ++LDADD+= -L${X11BASE}/lib -lX11 -lm + -+MANDIR= ${X11BASE}/man/man ++MANDIR= ${X11BASE}/man + +BINOWN= bin +BINDIR= ${X11BASE}/bin +BINMODE= 755 .include <bsd.prog.mk> -diff -udr ../xneko.BSD/xneko.c ./xneko.c ---- ../xneko.BSD/xneko.c Tue Jun 1 03:46:10 1993 -+++ ./xneko.c Fri Dec 22 19:10:44 1995 -@@ -139,6 +139,9 @@ - - #include <stdio.h> - -+#include <stdlib.h> -+#include <string.h> -+ - #include <signal.h> - #include <math.h> - #include <sys/time.h> diff --git a/x11/xneko/patches/patch-ab b/x11/xneko/patches/patch-ab new file mode 100644 index 00000000000..2c2e3b4c01e --- /dev/null +++ b/x11/xneko/patches/patch-ab @@ -0,0 +1,12 @@ +--- xneko.c.orig Tue Jun 1 03:46:10 1993 ++++ xneko.c Wed Feb 18 00:34:58 1998 +@@ -139,6 +139,9 @@ + + #include <stdio.h> + ++#include <stdlib.h> ++#include <string.h> ++ + #include <signal.h> + #include <math.h> + #include <sys/time.h> diff --git a/x11/xneko/pkg/PLIST b/x11/xneko/pkg/PLIST index 7a8fee1d972..5b53d86fd49 100644 --- a/x11/xneko/pkg/PLIST +++ b/x11/xneko/pkg/PLIST @@ -1,2 +1,4 @@ +@comment $NetBSD: PLIST,v 1.2 1998/02/17 23:47:49 tron Exp $ bin/xneko man/man6/xneko.6.gz +man/cat6/xneko.0 |