pkgsrc-Changes archive

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

CVS commit: pkgsrc/converters/utf8proc



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon May 21 17:02:42 UTC 2018

Modified Files:
        pkgsrc/converters/utf8proc: Makefile

Log Message:
utf8proc: fix shared library name on Darwin


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/converters/utf8proc/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/converters/utf8proc/Makefile
diff -u pkgsrc/converters/utf8proc/Makefile:1.1 pkgsrc/converters/utf8proc/Makefile:1.2
--- pkgsrc/converters/utf8proc/Makefile:1.1     Mon Apr 30 19:31:47 2018
+++ pkgsrc/converters/utf8proc/Makefile Mon May 21 17:02:42 2018
@@ -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 @@ INSTALLATION_DIRS+=  include lib
 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