diff options
Diffstat (limited to 'games/xzip/patches/patch-aa')
-rw-r--r-- | games/xzip/patches/patch-aa | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/games/xzip/patches/patch-aa b/games/xzip/patches/patch-aa new file mode 100644 index 00000000000..1f9d913d774 --- /dev/null +++ b/games/xzip/patches/patch-aa @@ -0,0 +1,49 @@ +$NetBSD: patch-aa,v 1.1 1998/08/10 22:27:46 tron Exp $ + +--- Makefile.orig Sun Jul 12 00:27:32 1998 ++++ Makefile Tue Aug 11 00:14:31 1998 +@@ -57,15 +57,15 @@ + #SYSTEMFLAGS = -DBIG_END_MODE + + # definitions for some arbitrary little-endian system +-#SYSTEMFLAGS = -DLITTLE_END_MODE ++SYSTEMFLAGS = -DAUTO_END_MODE + + # -------------------- + + # definitions for where the X lib and include directories are. + # The following are defaults that might work. + +-XINCLUDE = /usr/include/X11 +-XLIB = /usr/lib/X11 ++XINCLUDE = $(X11BASE)/include ++XLIB = $(X11BASE)/lib + + # If your compiler can't find these things, try commenting out the + # above, and uncommenting various versions below. Also look around +@@ -90,12 +90,12 @@ + # -------------------- + + # definition for where to install xzip executable and man page +-DESTDIR = /usr/local ++DESTDIR = $(X11BASE) + + # -------------------- + + CFLAGS = -O $(SYSTEMFLAGS) -I$(XINCLUDE) +-LDFLAGS = ++LDFLAGS = -Wl,-R$(X11BASE)/lib + LIBS = -L$(XLIB) -lX11 $(SYSTEMLIBS) + + # definitions for the default fonts. Users can override these with X resources. +@@ -152,8 +152,8 @@ + $(CC) $(CFLAGS) $(FONTDEFAULTLIST) -c xinit.c + + install: $(PROGRAM) +- install -s $(PROGRAM) $(DESTDIR)/bin +- install $(PROGRAM).1 $(DESTDIR)/man/man1 ++ ${BSD_INSTALL_PROGRAM} $(PROGRAM) $(DESTDIR)/bin ++ ${BSD_INSTALL_MAN} $(PROGRAM).1 $(DESTDIR)/man/man6/$(PROGRAM).6 + + clean : + -rm -f *~ *.o $(PROGRAM) test |