summaryrefslogtreecommitdiff
path: root/packages/giblib/files
diff options
context:
space:
mode:
Diffstat (limited to 'packages/giblib/files')
-rw-r--r--packages/giblib/files/.mtn2git_empty0
-rw-r--r--packages/giblib/files/binconfig.patch30
2 files changed, 30 insertions, 0 deletions
diff --git a/packages/giblib/files/.mtn2git_empty b/packages/giblib/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/giblib/files/.mtn2git_empty
diff --git a/packages/giblib/files/binconfig.patch b/packages/giblib/files/binconfig.patch
index e69de29bb2..5fc5cc4976 100644
--- a/packages/giblib/files/binconfig.patch
+++ b/packages/giblib/files/binconfig.patch
@@ -0,0 +1,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@
+ ;;
+ *)