diff options
author | markd <markd> | 2004-10-07 12:45:07 +0000 |
---|---|---|
committer | markd <markd> | 2004-10-07 12:45:07 +0000 |
commit | b4306cf644b749c13507f7875a917790f6c51015 (patch) | |
tree | 8a530356865cf328065d371bb0fc1b6535af7d76 /games/nethack-qt/patches | |
parent | 72e24d955c2f8c0d856b5b8027bca91940f310be (diff) | |
download | pkgsrc-b4306cf644b749c13507f7875a917790f6c51015.tar.gz |
Use $CXX to do the link and take its value from what pkgsrc passes it
rather than setting explicitly.
Diffstat (limited to 'games/nethack-qt/patches')
-rw-r--r-- | games/nethack-qt/patches/patch-ah | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/games/nethack-qt/patches/patch-ah b/games/nethack-qt/patches/patch-ah index 8f6e4c0aa10..ca9ec4e2310 100644 --- a/games/nethack-qt/patches/patch-ah +++ b/games/nethack-qt/patches/patch-ah @@ -1,8 +1,8 @@ -$NetBSD: patch-ah,v 1.5 2004/09/11 13:38:47 markd Exp $ +$NetBSD: patch-ah,v 1.6 2004/10/07 12:45:07 markd Exp $ ---- sys/unix/Makefile.src.orig 2003-08-30 03:08:04.000000000 +0300 -+++ sys/unix/Makefile.src 2003-09-02 03:17:23.000000000 +0300 -@@ -151,8 +151,8 @@ +--- sys/unix/Makefile.src.orig 2003-12-08 12:39:13.000000000 +1300 ++++ sys/unix/Makefile.src +@@ -151,15 +151,15 @@ GNOMEINC=-I/usr/lib/glib/include -I/usr/ # flags for debugging: # CFLAGS = -g -I../include @@ -13,7 +13,16 @@ $NetBSD: patch-ah,v 1.5 2004/09/11 13:38:47 markd Exp $ # The Qt and Be window systems are written in C++, while the rest of # NetHack is standard C. If using Qt, uncomment the LINK line here to get -@@ -214,8 +214,8 @@ + # the C++ libraries linked in. + CXXFLAGS = $(CFLAGS) -I. -I$(QTDIR)/include +-CXX=g++ +-#LINK=g++ ++#CXX=g++ ++LINK=$(CXX) + # For cross-compiling, eg. with gcc on Linux (see also CC further up): + #CXX=arm-linux-g++ + #LINK=arm-linux-gcc +@@ -214,8 +214,8 @@ WINBEOBJ = # # @@ -24,7 +33,7 @@ $NetBSD: patch-ah,v 1.5 2004/09/11 13:38:47 markd Exp $ # on some systems the termcap library is in -ltermcap or -lcurses # on 386 Xenix, the -ltermlib tputs() seems not to work; use -lcurses instead -@@ -241,7 +241,7 @@ +@@ -241,7 +241,7 @@ WINX11LIB = -lXaw -lXmu -lXext -lXt -lX1 # WINX11LIB = -lXaw -lXmu -lXpm -lXext -lXt -lX11 -lSM -lICE -lm # BSD/OS 2.0 # # libraries for Qt @@ -33,7 +42,7 @@ $NetBSD: patch-ah,v 1.5 2004/09/11 13:38:47 markd Exp $ # # libraries for KDE (with Qt) WINKDELIB = -lkdecore -lkdeui -lXext -@@ -255,7 +255,7 @@ +@@ -255,7 +255,7 @@ WINGEMLIB = -le_gem -lgem # libraries for BeOS WINBELIB = -lbe |