source: trunk/dports/gnustep/gworkspace/files/patch-PDFKit @ 26265

Last change on this file since 26265 was 26265, checked in by yves@…, 13 years ago

Now prepared for gnutep-make-2.0

File size: 1.5 KB
Line 
1diff -u -r /tmp/GWorkspace-0.8.5/Inspector/aclocal.m4 ./Inspector/aclocal.m4
2--- /tmp/GWorkspace-0.8.5/Inspector/aclocal.m4  2007-02-23 14:14:30.000000000 +0100
3+++ ./Inspector/aclocal.m4      2007-04-21 15:11:36.000000000 +0200
4@@ -57,6 +57,15 @@
5 
6 AC_DEFUN(AC_CHECK_PDFKIT_DARWIN,[
7   AC_MSG_CHECKING([for PDFKit])
8+  # For backwards compatibility, define GNUSTEP_SYSTEM_HEADERS from
9+  # GNUSTEP_SYSTEM_ROOT if not set yet.
10+  if test x"$GNUSTEP_SYSTEM_HEADERS" = x""; then
11+    GNUSTEP_SYSTEM_HEADERS="$GNUSTEP_SYSTEM_ROOT/Library/Headers"
12+  fi
13+  if test x"$GNUSTEP_LOCAL_HEADERS" = x""; then
14+    GNUSTEP_LOCAL_HEADERS="$GNUSTEP_LOCAL_ROOT/Library/Headers"
15+  fi
16+
17   PDF_H="PDFKit/PDFDocument.h"
18   PDF_H_PATH="$GNUSTEP_SYSTEM_HEADERS/$PDF_H"
19 
20diff -u -r /tmp/GWorkspace-0.8.5/Inspector/configure ./Inspector/configure
21--- /tmp/GWorkspace-0.8.5/Inspector/configure   2007-02-23 14:14:30.000000000 +0100
22+++ ./Inspector/configure       2007-04-21 15:11:47.000000000 +0200
23@@ -3261,6 +3261,15 @@
24 
25   echo "$as_me:$LINENO: checking for PDFKit" >&5
26 echo $ECHO_N "checking for PDFKit... $ECHO_C" >&6
27+  # For backwards compatibility, define GNUSTEP_SYSTEM_HEADERS from
28+  # GNUSTEP_SYSTEM_ROOT if not set yet.
29+  if test x"$GNUSTEP_SYSTEM_HEADERS" = x""; then
30+    GNUSTEP_SYSTEM_HEADERS="$GNUSTEP_SYSTEM_ROOT/Library/Headers"
31+  fi
32+  if test x"$GNUSTEP_LOCAL_HEADERS" = x""; then
33+    GNUSTEP_LOCAL_HEADERS="$GNUSTEP_LOCAL_ROOT/Library/Headers"
34+  fi
35+
36   PDF_H="PDFKit/PDFDocument.h"
37   PDF_H_PATH="$GNUSTEP_SYSTEM_HEADERS/$PDF_H"
38 
Note: See TracBrowser for help on using the repository browser.