Date: Tue, 13 May 2003 07:22:04 +0900 From: KATO Tsuguru <tkato@prontomail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/52136: Update port: graphics/swfdec Message-ID: <20030513072204.5e4dbfbd.tkato@prontomail.com> Resent-Message-ID: <200305122230.h4CMU8tX065934@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030513072204.5e4dbfbd.tkato>