summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-01-30 14:19:00 +0000
committertron <tron@pkgsrc.org>1999-01-30 14:19:00 +0000
commite9fcc272aa0d004645fd49b113738a02b2769337 (patch)
treed3426d60c279392d810818114e196bed5cb84920 /mail
parent7b2033a143be7b63a795c2059617f15523b2cc1b (diff)
downloadpkgsrc-e9fcc272aa0d004645fd49b113738a02b2769337.tar.gz
Search for GNUstep directory at correct location.
Diffstat (limited to 'mail')
-rw-r--r--mail/wmmail/patches/patch-ab21
-rw-r--r--mail/wmmail/patches/patch-ac13
2 files changed, 34 insertions, 0 deletions
diff --git a/mail/wmmail/patches/patch-ab b/mail/wmmail/patches/patch-ab
new file mode 100644
index 00000000000..4268954547b
--- /dev/null
+++ b/mail/wmmail/patches/patch-ab
@@ -0,0 +1,21 @@
+$NetBSD: patch-ab,v 1.1 1999/01/30 14:19:00 tron Exp $
+
+--- wmutil.c.orig Sat Jan 16 05:50:25 1999
++++ wmutil.c Sat Jan 30 14:37:40 1999
+@@ -319,15 +319,12 @@
+ if (path = check_file(prefix, folders, resource))
+ return path;
+
+- if (path = check_file("/usr/local/GNUstep", folders, resource))
++ if (path = check_file(PREFIX "/GNUstep", folders, resource))
+ return path;
+
+ if (prefix = getenv("GNUSTEP_SYSTEM_ROOT"))
+ if (path = check_file(prefix, folders, resource))
+ return path;
+-
+- if (path = check_file("/usr/GNUstep", folders, resource))
+- return path;
+
+ return (char *) NULL;
+ }
diff --git a/mail/wmmail/patches/patch-ac b/mail/wmmail/patches/patch-ac
new file mode 100644
index 00000000000..9138819f9c9
--- /dev/null
+++ b/mail/wmmail/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 1999/01/30 14:19:01 tron Exp $
+
+--- configure.orig Sat Jan 30 15:00:13 1999
++++ configure Sat Jan 30 15:06:55 1999
+@@ -2459,7 +2459,7 @@
+ s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
+ $ac_vpsub
+ $extrasub
+-s%@CFLAGS@%$CFLAGS%g
++s%@CFLAGS@%$CFLAGS -DPREFIX=\\"$prefix\\"%g
+ s%@CPPFLAGS@%$CPPFLAGS%g
+ s%@CXXFLAGS@%$CXXFLAGS%g
+ s%@DEFS@%$DEFS%g