aboutsummaryrefslogtreecommitdiff
path: root/devel/libxalloc/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libxalloc/files/patch-aa')
-rw-r--r--devel/libxalloc/files/patch-aa35
1 files changed, 35 insertions, 0 deletions
diff --git a/devel/libxalloc/files/patch-aa b/devel/libxalloc/files/patch-aa
new file mode 100644
index 000000000000..ef7bfb08ce84
--- /dev/null
+++ b/devel/libxalloc/files/patch-aa
@@ -0,0 +1,35 @@
+--- Makefile.orig Sun Jul 5 12:15:59 1998
++++ Makefile Fri Apr 2 15:26:22 1999
+@@ -8,10 +8,10 @@
+ ###########################################################################
+
+ # Define SHARED as 1 for Linux shared ELF library
+-#SHARED = 1
++SHARED = 1
+
+ ifeq ($(SHARED),1)
+-LIBTARGET = lib$(DIST).so.$(VERSION)
++LIBTARGET = lib$(DIST).so.$(VERMAJ)
+ LIBTARGETSO = lib$(DIST).so
+ LIBTARGETSOMAJ = $(LIBTARGETSO).$(VERMAJ)
+ CCSHRD = -fPIC
+@@ -27,7 +27,7 @@
+ INSTBASEDIR = /usr/local
+ INSTLIBDIR = $(INSTBASEDIR)/lib
+ INSTINCDIR = $(INSTBASEDIR)/include
+-INSTALL = install -m 644
++INSTALL = install -c -m 644
+ MKDIRP = install -d -m 755
+
+ ###########################################################################
+@@ -66,9 +66,7 @@
+ $(INSTALL) $(LIBTARGET) $(INSTLIBDIR)
+ $(INSTALL) $(LIBHEAD) $(INSTINCDIR)
+ ifeq ($(SHARED),1)
+- ln -sf $(LIBTARGET) $(INSTLIBDIR)/$(LIBTARGETSOMAJ)
+- ln -sf $(LIBTARGETSOMAJ) $(INSTLIBDIR)/$(LIBTARGETSO)
+- echo "If you use GNU/Linux, remember to run ldconfig"
++ ln -sf $(LIBTARGET) $(INSTLIBDIR)/$(LIBTARGETSO)
+ endif
+
+ clean: