openbsd-ports/devel/mowgli/patches/patch-src_libmowgli_Makefile
steven 06ea21cd06 import mowgli 0.4.0
libmowgli is a class library containing performance and usability
oriented extensions to C.
2007-09-14 21:16:14 +00:00

23 lines
810 B
Plaintext

$OpenBSD: patch-src_libmowgli_Makefile,v 1.1.1.1 2007/09/14 21:16:14 steven Exp $
--- src/libmowgli/Makefile.orig Fri Sep 14 22:56:43 2007
+++ src/libmowgli/Makefile Fri Sep 14 22:57:10 2007
@@ -3,8 +3,7 @@ include ../../mk/init.mk
PICLDFLAGS = $(LIBLDFLAGS)
-OBJECTIVE_LIBS = libmowgli$(SHARED_SUFFIX)
-OBJECTIVE_SONAME_SUFFIX = 1
+OBJECTIVE_LIBS = libmowgli$(SHARED_SUFFIX).${LIBmowgli_VERSION}
LIBADD += $(DYNAMIC_LD_LIBS)
@@ -77,8 +76,3 @@ HEADERS = \
include ../../mk/objective.mk
install-posthook:
- @mv ${DESTDIR}/${LIBDIR}/libmowgli$(SHARED_SUFFIX) ${DESTDIR}/${LIBDIR}/libmowgli$(SHARED_SUFFIX).1.0.0
- @ln -sf libmowgli$(SHARED_SUFFIX).1.0.0 \
- ${DESTDIR}/${LIBDIR}/libmowgli$(SHARED_SUFFIX).1
- @ln -sf libmowgli$(SHARED_SUFFIX).1 \
- ${DESTDIR}/${LIBDIR}/libmowgli$(SHARED_SUFFIX)