From 540e0281a4e91b921b54e3d9f8acb7bac1458637 Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 12 Dec 2005 14:43:23 +0000 Subject: First step at reworking Linux binary packages. Change most pkgs to depend on either emulators/suse_linux/Makefile.application (normal pkgs) or Makefile.common (suse91 and suse themselves) to filter out Operating Systems without Linux ABI support. Use CPU masks to limit the pkg to supported platforms. --- chat/ymessenger/Makefile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'chat/ymessenger/Makefile') diff --git a/chat/ymessenger/Makefile b/chat/ymessenger/Makefile index f0e0aba7722..e6232cb3824 100644 --- a/chat/ymessenger/Makefile +++ b/chat/ymessenger/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2005/12/05 20:49:54 rillig Exp $ +# $NetBSD: Makefile,v 1.10 2005/12/12 14:43:23 joerg Exp $ DISTNAME= ymessenger-0.93.0 CATEGORIES= chat @@ -9,11 +9,16 @@ MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://messenger.yahoo.com/ COMMENT= Yahoo! instant messaging client +RPMFILES= ${DISTFILES} + +.include "../../emulators/suse_linux/Makefile.application" + +.if !defined(USE_NATIVE_LINUX) DEPENDS+= suse_compat>=6.4:../../emulators/${SUSE_DIR_PREFIX}_compat DEPENDS+= suse_gtk>=6.4:../../emulators/${SUSE_DIR_PREFIX}_gtk +.endif -ONLY_FOR_PLATFORM= NetBSD-1.4[Y-Z]-i386 NetBSD-1.4Z[A-Z]-i386 \ - NetBSD-1.[5-9]*-i386 NetBSD-[2-9]*-i386 +ONLY_FOR_PLATFORM= *-*-i386 CHECK_SHLIBS= no @@ -30,10 +35,7 @@ NO_BUILD= yes PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC PLIST_SUBST+= EMULSUBDIR=${EMULSUBDIR:Q} -RPMFILES= ${DISTFILES} - post-install: ${LN} -fs ../${EMULSUBDIR}/usr/local/bin/ymessenger ${PREFIX}/bin -.include "../../emulators/suse_linux/Makefile.application" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3