pkgsrc/x11/xhangglider/patches/patch-ab

21 lines
718 B
Text

$NetBSD: patch-ab,v 1.2 2012/07/30 03:04:32 dholland Exp $
- Configure paths for pkgsrc.
- Fix whitespace in variable assignments.
--- Imakefile.orig Sun May 9 14:34:17 1999
+++ Imakefile Thu Aug 5 05:32:09 1999
@@ -2,10 +2,10 @@
LOCAL_LIBRARIES = $(XLIB)
DEPLIBS = $(DEPXLIB)
SYS_LIBRARIES = -lm
- CDEBUGFLAGS = -g -O2 -Wall -DDEFAULT_DATA_PATH="\"$(DATDIR)\""
+ CDEBUGFLAGS = -g -O2 -Wall -DDEFAULT_DATA_PATH="\"$(DATDIR)\"" -DPREFIX=\"${PREFIX}\"
INSTALLFLAGS = $(INSTBINFLAGS)
- DATDIR = /usr/local/share/xhangglider
- BINDIR = /usr/local/bin
+ DATDIR = ${PREFIX}/share/xhangglider
+ BINDIR = ${PREFIX}/bin
SRCS = xhang.c 3ddraw.c pilot.c init.c