pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/xbill Don't override CXX or CXXDEFINES in the Im...
details: https://anonhg.NetBSD.org/pkgsrc/rev/aaf28ab3e5ce
branches: trunk
changeset: 474485:aaf28ab3e5ce
user: tv <tv%pkgsrc.org@localhost>
date: Fri Apr 30 20:13:12 2004 +0000
description:
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:
games/xbill/distinfo | 4 ++--
games/xbill/patches/patch-aa | 31 +++++++++++++++++++++----------
2 files changed, 23 insertions(+), 12 deletions(-)
diffs (69 lines):
diff -r f395bec93501 -r aaf28ab3e5ce games/xbill/distinfo
--- a/games/xbill/distinfo Fri Apr 30 19:45:29 2004 +0000
+++ b/games/xbill/distinfo Fri Apr 30 20:13:12 2004 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2001/12/11 14:59:17 wiz Exp $
+$NetBSD: distinfo,v 1.4 2004/04/30 20:13:12 tv Exp $
SHA1 (xbill-2.0.tgz) = 4ce4e37687801343af5f57c28498bd0b969c0537
Size (xbill-2.0.tgz) = 46909 bytes
-SHA1 (patch-aa) = 0dfe8041d71e101e2ecdf989cbb544c96ef93c99
+SHA1 (patch-aa) = b783da740f6ed03952a7eb5d7b5b75060165a3e6
SHA1 (patch-ab) = 245573e1ea2223ed1bde91c16db81a658bfcc8f6
SHA1 (patch-ac) = c3dd487d0002f528f6726d268673bc11be0b24b6
diff -r f395bec93501 -r aaf28ab3e5ce games/xbill/patches/patch-aa
--- a/games/xbill/patches/patch-aa Fri Apr 30 19:45:29 2004 +0000
+++ b/games/xbill/patches/patch-aa Fri Apr 30 20:13:12 2004 +0000
@@ -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 @@
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)
+ CCC = $(CXX)
+ CC = $(CXX)
- CXX = g++ $(CCFLAGS)
- CCC = $(CXX)
-@@ -136,6 +136,12 @@
+@@ -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))
Home |
Main Index |
Thread Index |
Old Index