pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/everybuddy Deal with blindly added -liconv in src...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/df590469bbcb
branches:  trunk
changeset: 459862:df590469bbcb
user:      seb <seb%pkgsrc.org@localhost>
date:      Sat Aug 09 17:11:04 2003 +0000

description:
Deal with blindly added -liconv in src/Makefile.{am,in}:
-current does not have it and can do without it.

XXX Time to add this BUILDLINK_TRANSFORM directive to
converters/libiconv/buildlink2.mk ?

diffstat:

 chat/everybuddy/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 1b62a495190f -r df590469bbcb chat/everybuddy/Makefile
--- a/chat/everybuddy/Makefile  Sat Aug 09 13:11:41 2003 +0000
+++ b/chat/everybuddy/Makefile  Sat Aug 09 17:11:04 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2003/07/13 13:50:45 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2003/08/09 17:11:04 seb Exp $
 
 .include "Makefile.common"
 PKGREVISION=   4
@@ -10,3 +10,8 @@
 .include "../../converters/libiconv/buildlink2.mk"
 .include "../../x11/gtk/buildlink2.mk"
 .include "../../mk/bsd.pkg.mk"
+
+_ICONV_LIB=    ${BUILDLINK_LIBICONV_LDADD:M-l*:C/-l//}
+.if empty(_ICONV_LIB)
+BUILDLINK_TRANSFORM+=  S:-liconv:
+.endif



Home | Main Index | Thread Index | Old Index