diff options
author | grant <grant> | 2002-07-25 02:47:46 +0000 |
---|---|---|
committer | grant <grant> | 2002-07-25 02:47:46 +0000 |
commit | b1a8f16d983aaa16432cd9a477ec6bf94327d492 (patch) | |
tree | 13d6074f73dee01b2cfebba58f0872c4f09f8291 /net/rdesktop | |
parent | 26949f126d1585c656c988c887465ee61726d054 (diff) | |
download | pkgsrc-b1a8f16d983aaa16432cd9a477ec6bf94327d492.tar.gz |
fix build on solaris:
* don't set -O2
* use ${LDFLAGS} instead of -L -Wl,-R etc.
Diffstat (limited to 'net/rdesktop')
-rw-r--r-- | net/rdesktop/patches/patch-aa | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net/rdesktop/patches/patch-aa b/net/rdesktop/patches/patch-aa index 87578224e44..03d22dd8bd5 100644 --- a/net/rdesktop/patches/patch-aa +++ b/net/rdesktop/patches/patch-aa @@ -1,17 +1,17 @@ -$NetBSD: patch-aa,v 1.3 2002/06/07 10:28:13 cjep Exp $ +$NetBSD: patch-aa,v 1.4 2002/07/25 02:47:46 grant Exp $ ---- Makefile.orig Sat Sep 15 13:34:32 2001 -+++ Makefile Tue Sep 25 13:37:46 2001 -@@ -6,12 +6,10 @@ +--- Makefile.orig Sat Sep 15 22:34:32 2001 ++++ Makefile +@@ -6,12 +6,9 @@ # Configuration defaults -CC = cc - CFLAGS = -O2 +-CFLAGS = -O2 -INCLUDES = -I/usr/X11R6/include -LDLIBS = -L/usr/X11R6/lib -lX11 +INCLUDES = -I$(X11BASE)/include -+LDLIBS = -L$(X11BASE)/lib -Wl,-R$(X11BASE)/lib -lX11 ++LDLIBS = $(LDFLAGS) -lX11 -PREFIX = /usr/local EPREFIX = $(PREFIX) |