From 7040bee8dad82ca1a8928dd0b4ff115ea3bff78d Mon Sep 17 00:00:00 2001 From: zuntum Date: Tue, 26 Jun 2001 08:45:56 +0000 Subject: o converted to use devel/SDL/buildlink.mk, mark as USE_BUILDLINK_ONLY and set USE_CONFIG_WRAPPER o remove redundant switches from CONFIGURE_ARGS Thank you Johnny C. Lam! :) --- graphics/avifile/Makefile | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) (limited to 'graphics') diff --git a/graphics/avifile/Makefile b/graphics/avifile/Makefile index 2cdfd4ccf74..40b18d59642 100644 --- a/graphics/avifile/Makefile +++ b/graphics/avifile/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2001/06/24 02:25:51 zuntum Exp $ +# $NetBSD: Makefile,v 1.9 2001/06/26 08:45:56 zuntum Exp $ DISTNAME= avifile-0.53.5 CATEGORIES= graphics @@ -10,23 +10,20 @@ MAINTAINER= zuntum@netbsd.org,jmcneill@invisible.yi.org HOMEPAGE= http://divx.euro.ru/ COMMENT= MPEG-4 (DivX) video player library -DEPENDS+= win32-codecs>=010122:../../graphics/win32-codecs -DEPENDS+= SDL>=1.1.2:../../devel/SDL +DEPENDS= win32-codecs>=010122:../../graphics/win32-codecs -ONLY_FOR_PLATFORM= NetBSD-*-i386 -USE_GMAKE= yes -USE_LIBTOOL= yes -LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig +ONLY_FOR_PLATFORM= NetBSD-*-i386 -HAS_CONFIGURE= yes -CONFIGURE_ENV+= SDL_CONFIG="${SDL_CONFIG}" +USE_BUILDLINK_ONLY= YES +USE_CONFIG_WRAPPER= YES +USE_GMAKE= YES +USE_LIBTOOL= YES +LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig -CONFIGURE_ARGS+=--prefix=${PREFIX} \ - --with-win32-path=${LOCALBASE}/lib/win32 \ - --enable-sdl \ - --without-qt +GNU_CONFIGURE= YES -SDL_CONFIG?= ${LOCALBASE}/bin/sdl-config +CONFIGURE_ARGS+=--with-win32-path="${LOCALBASE}/lib/win32" +CONFIGURE_ARGS+=--without-qt -.include "../../devel/pth/buildlink.mk" +.include "../../devel/SDL/buildlink.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3