pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/libpinyin libpinyin: fix --version-script han...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d7a36cf5f71a
branches:  trunk
changeset: 377891:d7a36cf5f71a
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Mon Apr 25 09:13:52 2022 +0000

description:
libpinyin: fix --version-script handling

diffstat:

 textproc/libpinyin/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r dfba8b81ed42 -r d7a36cf5f71a textproc/libpinyin/Makefile
--- a/textproc/libpinyin/Makefile       Mon Apr 25 09:13:38 2022 +0000
+++ b/textproc/libpinyin/Makefile       Mon Apr 25 09:13:52 2022 +0000
@@ -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 @@
 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