Date: Tue, 17 Jan 2006 12:01:12 -0500 From: Frank Laszlo <laszlof@vonostingroup.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: freebsd-emulation@FreeBSD.org Subject: ports/91911: [PATCH]: x11-toolkits/linux-gtk2: distfile unfetchable Message-ID: <E1EyuCm-0000su-32@ritamari.vonostingroup.com> Resent-Message-ID: <200601171710.k0HHA5nx017291@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 91911 >Category: ports >Synopsis: [PATCH]: x11-toolkits/linux-gtk2: distfile unfetchable >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 17 17:10:03 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Frank Laszlo >Release: FreeBSD 6.0-STABLE i386 >Organization: >Environment: System: FreeBSD ritamari.vonostingroup.com 6.0-STABLE FreeBSD 6.0-STABLE #0: Mon Nov 7 12:06:15 EST 2005 laszlof@ritamari.vonostingroup.com:/usr/obj/usr/src/sys/RITAMARI i386 >Description: The distfile for this port is unfetchable if ARCH=amd64. The reason for this is that the rpm packager decided to ARCH=x86_64 instead of amd64 in their naming convention. This patch will fix the issue. >How-To-Repeat: cd ${PORTSDIR}/x11-toolkits/linux-gtk2 && make ARCH=amd64 fetch >Fix: --- linux-gtk2-amd64.diff begins here --- diff -NrU3 linux-gtk2.orig/Makefile linux-gtk2/Makefile --- linux-gtk2.orig/Makefile Tue Jan 17 11:53:16 2006 +++ linux-gtk2/Makefile Tue Jan 17 11:58:10 2006 @@ -30,8 +30,16 @@ PLIST= ${PKGDIR}/pkg-plist USE_XLIB= yes RESTRICTED= "binaries under GNU LGPL without accompanying source" -RPM_SET= gtk2-${PORTVERSION}-4.fc3.3.${ARCH}.rpm +RPM_SET= gtk2-${PORTVERSION}-4.fc3.3.${ARCH_SUB}.rpm PLIST_SUB= LIBVERSION="400.14" PORTVERSION="${PORTVERSION}" + +.include <bsd.port.pre.mk> + +.if ${ARCH} == "amd64" +ARCH_SUB=x86_64 +.else +ARCH_SUB=${ARCH} +.endif post-install: .for ii in gdk-pixbuf-query-loaders-32 gtk-demo gtk-query-immodules-2.0-32 --- linux-gtk2-amd64.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1EyuCm-0000su-32>