aboutsummaryrefslogtreecommitdiff
path: root/devel/libshhmsg/files
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-04-03 01:20:09 +0000
committerSteve Price <steve@FreeBSD.org>1999-04-03 01:20:09 +0000
commitf99c7cc084dbaa83d8e8b84ce5ecb232bd3b462d (patch)
tree11611228f14ea5d9e66c2cd974155548c0d59eb3 /devel/libshhmsg/files
parent55f0c1d3b457c90fa2cd489084029755d79b9736 (diff)
downloadports-f99c7cc084dbaa83d8e8b84ce5ecb232bd3b462d.tar.gz
ports-f99c7cc084dbaa83d8e8b84ce5ecb232bd3b462d.zip
Notes
Diffstat (limited to 'devel/libshhmsg/files')
-rw-r--r--devel/libshhmsg/files/patch-aa46
1 files changed, 46 insertions, 0 deletions
diff --git a/devel/libshhmsg/files/patch-aa b/devel/libshhmsg/files/patch-aa
new file mode 100644
index 000000000000..cf4a685feab4
--- /dev/null
+++ b/devel/libshhmsg/files/patch-aa
@@ -0,0 +1,46 @@
+--- Makefile.orig Tue Oct 13 13:11:42 1998
++++ Makefile Fri Apr 2 15:33:32 1999
+@@ -6,10 +6,10 @@
+ VERSION = $(VERMAJ).$(VERMIN).$(VERPAT)
+
+ # 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
+@@ -23,8 +23,8 @@
+ INSTBASEDIR = /usr/local
+ INSTLIBDIR = $(INSTBASEDIR)/lib
+ INSTINCDIR = $(INSTBASEDIR)/include
+-INSTALL = install -m 644
+-INSTALLPROG = install -m 755
++INSTALL = install -c -m 644
++INSTALLPROG = install -c -m 755
+ MKDIRP = install -d -m 755
+
+ CC = gcc
+@@ -32,7 +32,7 @@
+
+ INCDIR = -I.
+
+-CCOPT = -s -Wall $(OPTIM) $(INCDIR)
++CCOPT = -s -Wall $(OPTIM) $(INCDIR) -D_POSIX_SOURCE
+
+ # Object files to store in the library
+ LIBOBJS = vars.o streams.o progname.o \
+@@ -59,9 +59,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: