summaryrefslogtreecommitdiff
path: root/libraries/libixp/libixp-0.4-libdir.diff
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libixp/libixp-0.4-libdir.diff')
-rw-r--r--libraries/libixp/libixp-0.4-libdir.diff18
1 files changed, 18 insertions, 0 deletions
diff --git a/libraries/libixp/libixp-0.4-libdir.diff b/libraries/libixp/libixp-0.4-libdir.diff
new file mode 100644
index 0000000000..3e8c73b073
--- /dev/null
+++ b/libraries/libixp/libixp-0.4-libdir.diff
@@ -0,0 +1,18 @@
+diff -Nur libixp-0.4.orig/mk/lib.mk libixp-0.4/mk/lib.mk
+--- libixp-0.4.orig/mk/lib.mk 2007-11-05 08:36:22.000000000 -0600
++++ libixp-0.4/mk/lib.mk 2009-08-03 00:20:42.479105075 -0500
+@@ -1,4 +1,4 @@
+-PTARG = ${ROOT}/lib/${TARG}
++PTARG = ${ROOT}/@baselibdir@/${TARG}
+ LIB = ${PTARG}.a
+ OFILES = ${OBJ:=.o}
+
+@@ -20,7 +20,7 @@
+
+ ${LIB}: ${OFILES}
+ echo AR $$($(ROOT)/util/cleanname $(BASE)/$@)
+- mkdir ${ROOT}/lib 2>/dev/null || true
++ mkdir ${ROOT}/@baselibdir@ 2>/dev/null || true
+ ${AR} $@ ${OFILES}
+
+ include ${ROOT}/mk/common.mk