Date: Mon, 28 Jan 2002 10:58:19 -0800 (PST) From: KATO Tsuguru <tkato@prontomail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/34384: Update port: graphics/xine_d4d_plugin Message-ID: <200201281858.g0SIwJ300541@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 34384 >Category: ports >Synopsis: Update port: graphics/xine_d4d_plugin >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jan 28 11:00:06 PST 2002 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.4-RELEASE i386 >Organization: >Environment: >Description: - Support PTHREAD_CFLAGS/PTHREAD_LIBS properly - Avoid installing useless .la files New file: files/patch-ltmain.sh >How-To-Repeat: >Fix: diff -urN /usr/ports/graphics/xine_d4d_plugin/Makefile graphics/xine_d4d_plugin/Makefile --- /usr/ports/graphics/xine_d4d_plugin/Makefile Wed Dec 12 20:03:30 2001 +++ graphics/xine_d4d_plugin/Makefile Mon Jan 28 20:29:29 2002 @@ -7,6 +7,7 @@ PORTNAME= xine_d4d_plugin PORTVERSION= 0.3.0 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://www.geocities.com/captain_css/ @@ -14,9 +15,18 @@ LIB_DEPENDS= xine.0:${PORTSDIR}/graphics/libxine +USE_X_PREFIX= yes GNU_CONFIGURE= yes -USE_X_PREFIX= yes +CONFIGURE_ENV= THREAD_CFLAGS="${PTHREAD_CFLAGS}" \ + THREAD_LIBS="${PTHREAD_LIBS}" INSTALLS_SHLIB= yes + +post-patch: + @${PERL} -pi -e \ + 's|THREAD_LIBS=.*$$|THREAD_LIBS="\$$THREAD_LIBS"|g ; \ + s|THREAD_CFLAGS=.*$$|THREAD_CFLAGS="\$$THREAD_CFLAGS"|g ; \ + s|-L/usr/local/lib||g ; \ + s|-I/usr/local/include||g' ${WRKSRC}/configure post-install: @${CAT} ${PKGMESSAGE} diff -urN /usr/ports/graphics/xine_d4d_plugin/files/patch-ltmain.sh graphics/xine_d4d_plugin/files/patch-ltmain.sh --- /usr/ports/graphics/xine_d4d_plugin/files/patch-ltmain.sh Thu Jan 1 09:00:00 1970 +++ graphics/xine_d4d_plugin/files/patch-ltmain.sh Sat Jan 26 00:00:00 2002 @@ -0,0 +1,49 @@ +--- ltmain.sh.orig Mon Nov 12 16:27:33 2001 ++++ ltmain.sh Fri Jan 25 23:31:44 2002 +@@ -956,6 +956,7 @@ + ;; + + -avoid-version) ++ build_old_libs=no + avoid_version=yes + continue + ;; +@@ -1043,14 +1044,14 @@ + # These systems don't actually have a C library (as such) + test "X$arg" = "X-lc" && continue + ;; +- *-*-openbsd*) ++ *-*-openbsd* | *-*-freebsd*) + # Do not include libc due to us having libc/libc_r. + test "X$arg" = "X-lc" && continue + ;; + esac + elif test "X$arg" = "X-lc_r"; then + case $host in +- *-*-openbsd*) ++ *-*-openbsd* | *-*-freebsd*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; +@@ -2446,7 +2447,7 @@ + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; +- *-*-openbsd*) ++ *-*-openbsd* | *-*-freebsd*) + # Do not include libc due to us having libc/libc_r. + ;; + *) +@@ -4215,10 +4216,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff -urN /usr/ports/graphics/xine_d4d_plugin/pkg-plist graphics/xine_d4d_plugin/pkg-plist --- /usr/ports/graphics/xine_d4d_plugin/pkg-plist Sat Dec 1 05:19:16 2001 +++ graphics/xine_d4d_plugin/pkg-plist Sat Jan 26 00:00:00 2002 @@ -1,3 +1,2 @@ -lib/xine/plugins/xineplug_inp_d4d.la lib/xine/plugins/xineplug_inp_d4d.so @unexec rmdir %D/lib/xine/plugins 2>/dev/null || true >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201281858.g0SIwJ300541>