pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/libpinyin



Module Name:    pkgsrc
Committed By:   tnn
Date:           Mon Apr 25 09:13:52 UTC 2022

Modified Files:
        pkgsrc/textproc/libpinyin: Makefile

Log Message:
libpinyin: fix --version-script handling


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/textproc/libpinyin/Makefile

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

Modified files:

Index: pkgsrc/textproc/libpinyin/Makefile
diff -u pkgsrc/textproc/libpinyin/Makefile:1.9 pkgsrc/textproc/libpinyin/Makefile:1.10
--- pkgsrc/textproc/libpinyin/Makefile:1.9      Wed Dec  8 16:02:43 2021
+++ pkgsrc/textproc/libpinyin/Makefile  Mon Apr 25 09:13:52 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2021/12/08 16:02:43 adam Exp $
+# $NetBSD: Makefile,v 1.10 2022/04/25 09:13:52 tnn Exp $
 
 DISTNAME=      libpinyin-2.6.0
 PKGREVISION=   1
@@ -20,8 +20,10 @@ CONFIGURE_ARGS+=     --enable-libzhuyin
 PKGCONFIG_OVERRIDE+=   libpinyin.pc.in
 PKGCONFIG_OVERRIDE+=   libzhuyin.pc.in
 
-BUILDLINK_TRANSFORM.Darwin+=   rm:-Wl,--version-script=./libpinyin.ver
-BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,--version-script=./libpinyin.ver
+.for os in Darwin SunOS
+BUILDLINK_TRANSFORM.${os}+=    rm:-Wl,--version-script=./libpinyin.ver
+BUILDLINK_TRANSFORM.${os}+=    rm:-Wl,--version-script=./libzhuyin.ver
+.endfor
 
 .include "../../databases/db4/buildlink3.mk"
 BUILDLINK_TRANSFORM+=  l:db:db4



Home | Main Index | Thread Index | Old Index