summaryrefslogtreecommitdiff
path: root/graphics/cambevao/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2010-09-12 19:03:45 +0000
committerwiz <wiz@pkgsrc.org>2010-09-12 19:03:45 +0000
commit58d2ff2cbf1ce410de965b7c51ffe619feb4e452 (patch)
tree73e1100c2c413d44f874ec846566679bc6799b24 /graphics/cambevao/patches
parent7eeddea1f360b8893ba0109937111d4f0b010be9 (diff)
downloadpkgsrc-58d2ff2cbf1ce410de965b7c51ffe619feb4e452.tar.gz
Add rpath for expat, so that builtin expat will work.
Addresses PR 43862.
Diffstat (limited to 'graphics/cambevao/patches')
-rw-r--r--graphics/cambevao/patches/patch-ad13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/cambevao/patches/patch-ad b/graphics/cambevao/patches/patch-ad
new file mode 100644
index 00000000000..0e85e87816b
--- /dev/null
+++ b/graphics/cambevao/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2010/09/12 19:03:45 wiz Exp $
+
+--- Makefile.orig 2004-11-20 14:04:33.000000000 +0000
++++ Makefile
+@@ -14,7 +14,7 @@ RM = rm -f
+ INSTALL = /usr/bin/install -c -s -o root -g wheel -m 555
+ CFLAGS = -Wall -O2 -I$(includedir) -DPROGRAM=\"$(PROGRAM)\" -DMAX_CONN=3
+ # CFLAGS = -Wall -g -I$(includedir) -DPROGRAM=\"$(PROGRAM)\" -DMAX_CONN=3
+-LDFLAGS = -L$(libdir) -Wl,-R$(libdir)
++LDFLAGS = -L$(libdir) -Wl,-R$(libdir) -L$(EXPAT_PATH) -Wl,-R$(EXPAT_PATH)
+ LDLIBS = -lexpat -ljpeg -lutil -lm
+ #this for FreeBSD
+ #LDLIBS = -lexpat -ljpeg -lm