openbsd-ports/devel/mcs/patches/patch-src_libmcs_Makefile
2007-09-14 21:04:13 +00:00

23 lines
774 B
Plaintext

$OpenBSD: patch-src_libmcs_Makefile,v 1.2 2007/09/14 21:04:13 steven Exp $
--- src/libmcs/Makefile.orig Fri Aug 24 02:54:16 2007
+++ src/libmcs/Makefile Fri Sep 14 22:42:36 2007
@@ -3,8 +3,7 @@ include ../../mk/init.mk
PICLDFLAGS = $(LIBLDFLAGS)
-OBJECTIVE_LIBS = libmcs$(SHARED_SUFFIX)
-OBJECTIVE_SONAME_SUFFIX = 1
+OBJECTIVE_LIBS = libmcs$(SHARED_SUFFIX).${LIBmcs_VERSION}
LIBADD += $(DYNAMIC_LD_LIBS)
@@ -28,8 +27,3 @@ HEADERS = mcs.h
include ../../mk/objective.mk
install-posthook:
- @mv ${DESTDIR}/${LIBDIR}/libmcs$(SHARED_SUFFIX) ${DESTDIR}/${LIBDIR}/libmcs$(SHARED_SUFFIX).1.0.0
- @ln -sf libmcs$(SHARED_SUFFIX).1.0.0 \
- ${DESTDIR}/${LIBDIR}/libmcs$(SHARED_SUFFIX).1
- @ln -sf libmcs$(SHARED_SUFFIX).1 \
- ${DESTDIR}/${LIBDIR}/libmcs$(SHARED_SUFFIX)