summaryrefslogtreecommitdiff
path: root/games/xbill/patches
diff options
context:
space:
mode:
authortv <tv>2004-04-30 20:13:12 +0000
committertv <tv>2004-04-30 20:13:12 +0000
commit5bb969ff7b0cc1c0f18c4b136f1b38aff30f4d8d (patch)
treec0d9d365c6591050924032c93e322f0b247966bd /games/xbill/patches
parentef0b1b9fee0c57a238e128ff2fb809c9f938c519 (diff)
downloadpkgsrc-5bb969ff7b0cc1c0f18c4b136f1b38aff30f4d8d.tar.gz
Don't override CXX or CXXDEFINES in the Imakefile. pkgsrc supplies CXX,
and X supplies CXXDEFINES, so add local stuff to just DEFINES as X intended.
Diffstat (limited to 'games/xbill/patches')
-rw-r--r--games/xbill/patches/patch-aa29
1 files changed, 20 insertions, 9 deletions
diff --git a/games/xbill/patches/patch-aa b/games/xbill/patches/patch-aa
index b1c7788374a..57b56e368e6 100644
--- a/games/xbill/patches/patch-aa
+++ b/games/xbill/patches/patch-aa
@@ -1,14 +1,14 @@
-$NetBSD: patch-aa,v 1.4 1999/12/08 17:48:13 bouyer Exp $
+$NetBSD: patch-aa,v 1.5 2004/04/30 20:13:12 tv Exp $
---- Imakefile.orig Thu Jan 23 09:38:35 1997
-+++ Imakefile Mon Sep 14 13:20:24 1998
+--- Imakefile.orig Thu Jan 23 11:38:35 1997
++++ Imakefile
@@ -1,4 +1,4 @@
-XBILL_DIR = /var/lib/games/xbill/
+XBILL_DIR = $(PREFIX)/share/xbill/
XCOMM XBILL_DIR = $(HOME)/.xbill/
XCOMM Which widget set? Motif looks slightly better; Athena is free.
-@@ -10,7 +10,7 @@
+@@ -10,7 +10,7 @@ XCOMM If you do not have libXpm installe
XCOMM the statement below and insert the correct path.
XCOMM Make sure xpm.h can be referenced as <X11/xpm.h>
@@ -17,16 +17,27 @@ $NetBSD: patch-aa,v 1.4 1999/12/08 17:48:13 bouyer Exp $
XPMLIB = -lXpm
XCOMM You shouldn't have to change anything below this line.
-@@ -19,7 +19,7 @@
+@@ -18,10 +18,7 @@ XCOMM You shouldn't have to change anyth
+ XBILL_DEF = -DXBILL_HOME=\"$(XBILL_DIR)\"
INCLUDES = -I. $(XPMINC)
- CXXDEFINES = $(XBILL_DEF) $(DEFS) $(INCS)
+-CXXDEFINES = $(XBILL_DEF) $(DEFS) $(INCS)
-CCFLAGS = $(ALLDEFINES) -Wall -g
-+CCFLAGS = $(ALLDEFINES) -O $(CXXDEFINES)
- CXX = g++ $(CCFLAGS)
+-CXX = g++ $(CCFLAGS)
CCC = $(CXX)
-@@ -136,6 +136,12 @@
+ CC = $(CXX)
+
+@@ -35,7 +32,7 @@ CC = $(CXX)
+ #endif
+
+ LOCAL_LIBRARIES = $(WIDGETLIB) $(XTOOLLIB) $(XPMLIB) $(XLIB)
+-DEFINES = -D$(WIDGET)
++DEFINES = -D$(WIDGET) $(XBILL_DEF)
+
+ TARGET = xbill
+
+@@ -136,6 +133,12 @@ XBMS = bitmaps/apple.xbm \
ComplexProgramTarget($(TARGET))