summaryrefslogtreecommitdiff
path: root/recipes/giblib/files/binconfig.patch
blob: 5fc5cc4976a3c0e27ce85fa771719e981dd967ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Index: giblib-1.2.4/giblib-config.in
===================================================================
--- giblib-1.2.4.orig/giblib-config.in	2004-09-04 10:40:40.000000000 -0400
+++ giblib-1.2.4/giblib-config.in	2005-03-12 19:42:13.902432000 -0500
@@ -3,6 +3,8 @@
 prefix=@prefix@
 exec_prefix=@exec_prefix@
 exec_prefix_set=no
+libdir=@libdir@
+incluedir=@includedir@
 
 usage="\
 Usage: giblib-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]"
@@ -39,13 +41,13 @@
       echo @VERSION@
       ;;
     --cflags)
-      if test @includedir@ != /usr/include ; then
-        includes=-I@includedir@
+      if test ${includedir} != /usr/include ; then
+        includes=-I${includedir}
       fi
       echo $includes -I$prefix/include/giblib @IMLIB_CFLAGS@
       ;;
     --libs)
-      libdirs=-L@libdir@
+      libdirs=-L${libdir}
       echo $libdirs -lgiblib @LDFLAGS@ @IMLIB_LIBS@
       ;;
     *)