pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/converters/utf8proc utf8proc: fix shared library name ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7cd77715fa81
branches:  trunk
changeset: 380766:7cd77715fa81
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon May 21 17:02:42 2018 +0000

description:
utf8proc: fix shared library name on Darwin

diffstat:

 converters/utf8proc/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 80b6beb38661 -r 7cd77715fa81 converters/utf8proc/Makefile
--- a/converters/utf8proc/Makefile      Mon May 21 16:23:23 2018 +0000
+++ b/converters/utf8proc/Makefile      Mon May 21 17:02:42 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/04/30 19:31:47 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2018/05/21 17:02:42 adam Exp $
 
 DISTNAME=      utf8proc-2.1.1
 CATEGORIES=    converters
@@ -22,9 +22,15 @@
 post-extract:
        ${MKDIR} ${WRKSRC}
 
+.include "../../mk/bsd.prefs.mk"
+
 do-install:
        ${INSTALL_DATA} ${WRKDIR}/${PKGNAME_NOREV}/utf8proc.h \
                ${DESTDIR}${PREFIX}/include/
        ${INSTALL_LIB} ${WRKSRC}/libutf8proc.* ${DESTDIR}${PREFIX}/lib/
+.if ${OPSYS} == "Darwin"
+       install_name_tool -id ${PREFIX}/lib/libutf8proc.${PKGVERSION_NOREV}.dylib \
+            ${DESTDIR}${PREFIX}/lib/libutf8proc.${PKGVERSION_NOREV}.dylib
+.endif
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index