ports/91911: [PATCH]: x11-toolkits/linux-gtk2: distfile unfetchable
Frank Laszlo
laszlof at vonostingroup.com
Tue Jan 17 17:10:07 UTC 2006
>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 at 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:
More information about the freebsd-ports-bugs
mailing list