From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 12 15:30:17 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C15237B404 for ; Mon, 12 May 2003 15:30:17 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C222243FF3 for ; Mon, 12 May 2003 15:30:08 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h4CMU8Up065935 for ; Mon, 12 May 2003 15:30:08 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h4CMU8tX065934; Mon, 12 May 2003 15:30:08 -0700 (PDT) Resent-Date: Mon, 12 May 2003 15:30:08 -0700 (PDT) Resent-Message-Id: <200305122230.h4CMU8tX065934@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03CBE37B401 for ; Mon, 12 May 2003 15:26:41 -0700 (PDT) Received: from hfep02.dion.ne.jp (hfep02.dion.ne.jp [203.181.105.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FC2843F93 for ; Mon, 12 May 2003 15:26:40 -0700 (PDT) (envelope-from tkato@prontomail.com) Received: from localhost ([219.108.139.205]) by hfep02.dion.ne.jp with SMTP id <20030512222636240.OWPO@hfep02.dion.ne.jp> for ; Tue, 13 May 2003 07:26:36 +0900 Message-Id: <20030513072204.5e4dbfbd.tkato@prontomail.com> Date: Tue, 13 May 2003 07:22:04 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/52136: Update port: graphics/swfdec X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2003 22:30:17 -0000 >Number: 52136 >Category: ports >Synopsis: Update port: graphics/swfdec >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon May 12 15:30:08 PDT 2003 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.8-RELEASE i386 >Organization: >Environment: >Description: - Install .pc file to correct place >How-To-Repeat: >Fix: diff -urN /usr/ports/graphics/swfdec/Makefile graphics/swfdec/Makefile --- /usr/ports/graphics/swfdec/Makefile Sat Apr 12 17:38:11 2003 +++ graphics/swfdec/Makefile Tue May 13 06:54:57 2003 @@ -8,6 +8,7 @@ PORTNAME= swfdec PORTVERSION= 0.2.1 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -15,18 +16,23 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Flash Rendering Library +BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \ - mad.1:${PORTSDIR}/audio/mad \ - gnugetopt.1:${PORTSDIR}/devel/libgnugetopt + mad.1:${PORTSDIR}/audio/mad +RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig + +SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config USE_X_PREFIX= yes +USE_GNOME= gnomehack gtk20 libartlgpl2 +USE_GETOPT_LONG= yes USE_REINPLACE= yes -USE_GNOME= gtk20 libartlgpl2 -SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} LDFLAGS="{LDFLAGS} INSTALLS_SHLIB= yes + +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib post-patch: @${REINPLACE_CMD} -e "s|sdl-config|${SDL_CONFIG}|" ${WRKSRC}/configure diff -urN /usr/ports/graphics/swfdec/files/patch-ltmain.sh graphics/swfdec/files/patch-ltmain.sh --- /usr/ports/graphics/swfdec/files/patch-ltmain.sh Sun Apr 6 16:45:30 2003 +++ graphics/swfdec/files/patch-ltmain.sh Tue May 13 06:48:42 2003 @@ -1,14 +1,6 @@ ---- ltmain.sh.orig Sun Apr 6 15:09:32 2003 -+++ ltmain.sh Sun Apr 6 15:09:58 2003 -@@ -1065,14 +1065,14 @@ - # These systems don't actually have a C library (as such) - test "X$arg" = "X-lc" && continue - ;; -- *-*-openbsd* | *-*-freebsd*) -+ *-*-openbsd*) - # Do not include libc due to us having libc/libc_r. - test "X$arg" = "X-lc" && continue - ;; +--- ltmain.sh.orig Thu Feb 6 05:37:40 2003 ++++ ltmain.sh Tue May 13 06:48:33 2003 +@@ -1072,7 +1072,7 @@ esac elif test "X$arg" = "X-lc_r"; then case $host in @@ -17,15 +9,6 @@ # Do not include libc_r directly, use -pthread flag. continue ;; -@@ -2495,7 +2495,7 @@ - *-*-netbsd*) - # Don't link with libc until the a.out ld.so is fixed. - ;; -- *-*-openbsd* | *-*-freebsd*) -+ *-*-openbsd*) - # Do not include libc due to us having libc/libc_r. - ;; - *) @@ -4325,10 +4325,12 @@ fi diff -urN /usr/ports/graphics/swfdec/pkg-plist graphics/swfdec/pkg-plist --- /usr/ports/graphics/swfdec/pkg-plist Sun Apr 6 16:45:30 2003 +++ graphics/swfdec/pkg-plist Tue May 13 06:43:11 2003 @@ -1,10 +1,10 @@ bin/swf_play include/swfdec/swf.h include/swfdec/swfdec.h -@dirrm include/swfdec lib/gtk-2.0/2.2.0/loaders/swf_loader.a lib/gtk-2.0/2.2.0/loaders/swf_loader.so lib/libswfdec.a lib/libswfdec.so lib/libswfdec.so.0 -lib/pkgconfig/swfdec.pc +libdata/pkgconfig/swfdec.pc +@dirrm include/swfdec >Release-Note: >Audit-Trail: >Unformatted: