openbsd-ports/databases/openldap/patches/patch-build_top_mk
2005-12-29 14:00:35 +00:00

31 lines
1.2 KiB
Plaintext

$OpenBSD: patch-build_top_mk,v 1.3 2005/12/29 14:00:36 bernd Exp $
--- build/top.mk.orig Mon Aug 29 20:46:17 2005
+++ build/top.mk Wed Dec 28 12:04:37 2005
@@ -73,7 +73,7 @@ MKVERSION = $(top_srcdir)/build/mkversio
LIBTOOL = @LIBTOOL@
LIBRELEASE = @OPENLDAP_LIBRELEASE@
LIBVERSION = @OPENLDAP_LIBVERSION@
-LTVERSION = -release $(LIBRELEASE) -version-info $(LIBVERSION)
+LTVERSION = -release $(LIBRELEASE)
# libtool --only flag for libraries: platform specific
NT_LTONLY_LIB = # --only-$(BUILD_LIBS_DYNAMIC)
@@ -112,7 +112,7 @@ LTCOMPILE_LIB = $(LIBTOOL) $(LTONLY_LIB)
$(CC) $(LT_CFLAGS) $(LT_CPPFLAGS) $(LIB_DEFS) -c
LTLINK_LIB = $(LIBTOOL) $(LTONLY_LIB) --mode=link \
- $(CC) $(LT_CFLAGS) $(LDFLAGS) $(LTFLAGS_LIB)
+ $(CC) $(LT_CFLAGS) $(LDFLAGS) $(LTFLAGS_LIB) $(LIBRARY_LT_VERSION)
LTCOMPILE_MOD = $(LIBTOOL) $(LTONLY_MOD) --mode=compile \
$(CC) $(LT_CFLAGS) $(LT_CPPFLAGS) $(MOD_DEFS) -c
@@ -121,7 +121,7 @@ LTLINK_MOD = $(LIBTOOL) $(LTONLY_MOD) --
$(CC) $(LT_CFLAGS) $(LDFLAGS) $(LTFLAGS_MOD)
LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL)
-LTFINISH = $(LIBTOOL) --mode=finish
+LTFINISH = true
# Misc UNIX commands used in build environment
AR = @AR@