From 43ba654f3cc694b6e731f810668793efbf4d61e0 Mon Sep 17 00:00:00 2001 From: jmc Date: Fri, 15 Aug 2003 22:48:04 +0000 Subject: Get iconv right for both forms of everybuddy --- chat/everybuddy/Makefile | 9 +-------- chat/everybuddy/Makefile.common | 10 +++++++++- 2 files changed, 10 insertions(+), 9 deletions(-) (limited to 'chat/everybuddy') diff --git a/chat/everybuddy/Makefile b/chat/everybuddy/Makefile index e8bad8c60ba..f7f58a8c044 100644 --- a/chat/everybuddy/Makefile +++ b/chat/everybuddy/Makefile @@ -1,17 +1,10 @@ -# $NetBSD: Makefile,v 1.7 2003/08/09 17:11:04 seb Exp $ +# $NetBSD: Makefile,v 1.8 2003/08/15 22:48:04 jmc Exp $ .include "Makefile.common" PKGREVISION= 4 -USE_BUILDLINK2= yes CONFLICTS+= everybuddy-gnome-[0-9]* .include "../../audio/esound/buildlink2.mk" -.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 diff --git a/chat/everybuddy/Makefile.common b/chat/everybuddy/Makefile.common index 8a3fe413142..4e6b5992548 100644 --- a/chat/everybuddy/Makefile.common +++ b/chat/everybuddy/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.9 2003/07/17 21:25:40 grant Exp $ +# $NetBSD: Makefile.common,v 1.10 2003/08/15 22:48:04 jmc Exp $ DISTNAME= everybuddy-0.2.0 CATEGORIES= chat @@ -12,6 +12,7 @@ DEPENDS+= gnome1-dirs>=1.0:../../misc/gnome1-dirs USE_GMAKE= YES GNU_CONFIGURE= YES +USE_BUILDLINK2= yes DISTINFO_FILE= ${.CURDIR}/../everybuddy/distinfo FILESDIR= ${.CURDIR}/../everybuddy/files @@ -28,3 +29,10 @@ post-build: post-install: ${INSTALL_SCRIPT} ${WRKDIR}/wrapper ${PREFIX}/bin/everybuddy + +.include "../../converters/libiconv/buildlink2.mk" + +_ICONV_LIB= ${BUILDLINK_LIBICONV_LDADD:M-l*:C/-l//} +.if empty(_ICONV_LIB) +BUILDLINK_TRANSFORM+= S:-liconv: +.endif -- cgit v1.2.3