summaryrefslogtreecommitdiff
path: root/libraries/libixp/libixp-0.5-libdir.diff
diff options
context:
space:
mode:
authorMarco Bonetti <sid77@slackware.it>2011-12-10 16:36:56 -0600
committerNiels Horn <niels.horn@slackbuilds.org>2011-12-10 21:58:16 -0200
commitb53f581a61d7b6a6b60f97f7b93a189cc30547cf (patch)
treed578a917979b258ede73a64b82e763f47de18910 /libraries/libixp/libixp-0.5-libdir.diff
parent3aa48f231b9a0ee0495ba05040a91a212785ae6b (diff)
downloadslackbuilds-b53f581a61d7b6a6b60f97f7b93a189cc30547cf.tar.gz
libraries/libixp: Added (standalone client/server 9P library)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/libixp/libixp-0.5-libdir.diff')
-rw-r--r--libraries/libixp/libixp-0.5-libdir.diff18
1 files changed, 18 insertions, 0 deletions
diff --git a/libraries/libixp/libixp-0.5-libdir.diff b/libraries/libixp/libixp-0.5-libdir.diff
new file mode 100644
index 0000000000..951290cd64
--- /dev/null
+++ b/libraries/libixp/libixp-0.5-libdir.diff
@@ -0,0 +1,18 @@
+diff -Naur libixp-0.5.orig/mk/lib.mk libixp-0.5/mk/lib.mk
+--- libixp-0.5.orig/mk/lib.mk 2008-09-21 05:39:51.000000000 +0200
++++ libixp-0.5/mk/lib.mk 2011-11-15 09:59:26.333380697 +0100
+@@ -1,4 +1,4 @@
+-PTARG = $(ROOT)/lib/$(TARG)
++PTARG = $(ROOT)/@basedir@/$(TARG)
+ LIB = $(PTARG).a
+ OFILES = ${OBJ:=.o}
+
+@@ -22,7 +22,7 @@
+
+ $(LIB): $(OFILES)
+ echo AR $$($(CLEANNAME) $(BASE)/$@)
+- mkdir $(ROOT)/lib 2>/dev/null || true
++ mkdir $(ROOT)/@basedir@ 2>/dev/null || true
+ $(AR) $@ $(OFILES)
+
+ SOMKSH=case "$(MAKESO)" in 1|[Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]) echo $(ROOT)/mk/so.mk;; *) echo /dev/null;; esac