freebsd-ports/net/net-snmp/files/patch-Makefile.top
Jun Kuriyama 57bbbd361d Treat shlib number and libtool as our way.
Approved by:	maintainer
2001-02-08 02:39:58 +00:00

12 lines
542 B
Plaintext

--- Makefile.top.orig Mon Nov 20 05:58:05 2000
+++ Makefile.top Thu Feb 8 01:21:42 2001
@@ -51,7 +51,7 @@
# Misc Compiling Stuff
CC = @CC@
# version number is prefixed by a 0 for a better shared library version number
-LIB_LD_CMD = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -rpath $(libdir) -release 0.$(VERSION) -o
+LIB_LD_CMD = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -rpath $(libdir) -release $(VERSION).0 -version-info 4 -o
LIB_EXTENSION = la
LIB_VERSION =
LIB_LDCONFIG_CMD = $(LIBTOOL) --mode=finish $(libdir)