Date: Tue, 1 May 2007 01:23:19 +0800 (CST) From: Rong-En Fan <rafan@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: malus.x@gmail.com Subject: ports/112274: [PATCH] www/nspluginwrapper: fix dependency Message-ID: <200704301723.l3UHNJmB067388@svm.csie.ntu.edu.tw> Resent-Message-ID: <200704301730.l3UHU5Z7033121@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 112274 >Category: ports >Synopsis: [PATCH] www/nspluginwrapper: fix dependency >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 Apr 30 17:30:05 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Rong-En Fan >Release: FreeBSD 6.2-STABLE amd64 >Organization: NTU CSIE >Environment: System: FreeBSD svm.csie.ntu.edu.tw 6.2-STABLE FreeBSD 6.2-STABLE #1: Thu Apr 5 20:53:12 CST >Description: - As noted by Henrik Brix Andersen, this port requires linux version of gtk20 instead of the native one. Fix that by removing gtk20 from USE_GNOME and add it to RUN_DEPENDS - This port also requires native X11 libs (it needs linux's xorg package, though), so add a LIB_DEPENDS line - Fix hardcoded /usr/X11R6 in configure for upcoming xorg merge This changes are tested by on my amd64 7-current. Port maintainer (malus.x@gmail.com) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- nspluginwrapper-0.9.91.4_1.patch begins here --- Index: Makefile =================================================================== RCS file: /big/freebsd-cvsup/ncvs/ports/www/nspluginwrapper/Makefile,v retrieving revision 1.2 diff -u -u -r1.2 Makefile --- Makefile 6 Apr 2007 05:00:44 -0000 1.2 +++ Makefile 30 Apr 2007 17:21:11 -0000 @@ -7,6 +7,7 @@ PORTNAME= nspluginwrapper PORTVERSION= 0.9.91.4 +PORTREVISION= 1 CATEGORIES= www linux emulators MASTER_SITES= http://gwenole.beauchesne.info/projects/nspluginwrapper/files/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${RPMFILE} @@ -16,6 +17,8 @@ COMMENT= A compatibility plugin for Netscape 4 (NPAPI) plugins EXTRACT_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm +LIB_DEPENDS= X11.6:${PORTSDIR}/x11/xorg-libraries +RUN_DEPENDS= ${LINUXBASE}/usr/lib/libgtk-x11-2.0.so.0:${PORTSDIR}/x11-toolkits/linux-gtk2 RPMFILE= ${PORTNAME}-i386-${PORTVERSION}-1.x86_64.rpm @@ -24,7 +27,7 @@ USE_BZIP2= yes USE_LINUX= yes USE_XLIB= yes -USE_GNOME= glib20 gtk20 pkgconfig +USE_GNOME= glib20 pkgconfig CFLAGS+= -std=c99 @@ -48,6 +51,7 @@ post-patch: @${REINPLACE_CMD} -e 's,x86_64,amd64,g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},g' ${WRKSRC}/configure post-install: ${MKDIR} ${LIBDIR}/i386/linux --- nspluginwrapper-0.9.91.4_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704301723.l3UHNJmB067388>