Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2006 23:19:03 +0200 (CEST)
From:      Karel Miklav <karel@lovetemple.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/102451: Patch: lang/gnat-gcc34, 4.x and fetching issues 
Message-ID:  <200608232119.k7NLJ35t024539@tp.unitedpeople.info>
Resent-Message-ID: <200608232120.k7NLKJJX065001@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         102451
>Category:       ports
>Synopsis:       Patch: lang/gnat-gcc34, 4.x and fetching issues
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 23 21:20:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Karel Miklav
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD tp.unitedpeople.info 6.1-STABLE FreeBSD 6.1-STABLE #2: Mon Jul 31 00:49:01 CEST 2006 lino@tp.unitedpeople.info:/usr/obj/usr/src/sys/TPX40 i386
	
>Description:
The lang/gnat-gcc34 has two issues:

 1. it doesn't build under 4.x
 2. it doesn't properly define the distfile sources, so I get mail from Bill
    distfiles Fenner :)

The diff below fixes both.

	
>How-To-Repeat:
1. make extract under 4.x.
2. make fetch; first attempt fails as there is no file at that location.
	
>Fix:
	

diff -urN /usr/ports/lang/gnat-gcc34/Makefile gnat-gcc34/Makefile
--- /usr/ports/lang/gnat-gcc34/Makefile	Thu Aug 17 01:47:28 2006
+++ gnat-gcc34/Makefile	Wed Aug 23 22:04:32 2006
@@ -11,8 +11,8 @@
 CATEGORIES=		lang
 MASTER_SITES=	${MASTER_SITE_GCC}
 MASTER_SITE_SUBDIR=	releases/gcc-${PORTVERSION}
-DISTFILES=		gcc-core-${PORTVERSION}.tar.bz2 \
-				gcc-ada-${PORTVERSION}.tar.bz2
+DISTFILES=		gcc-core-${PORTVERSION}.tar.gz \
+				gcc-ada-${PORTVERSION}.tar.gz
 
 MAINTAINER=		karel@lovetemple.net
 COMMENT=		The GNU Ada Compiler system
@@ -40,10 +40,6 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} < 500000
-BROKEN=         does not extract on 4.x (both bzip2 and tar.gz sources are used)
-.endif
-
 gcc_suffix=		34
 targlib=		${PREFIX}/lib/gcc/${CONFIGURE_TARGET}/${PORTVERSION}
 
@@ -111,6 +107,7 @@
 ONLY_FOR_ARCHS=	i386
 DISTFILES+=		gnat-3.15p-boot.tar.gz:boot
 MASTER_SITES+=	${MASTER_SITE_LOCAL}:boot
+MASTER_SITE_SUBDIR+=	deischen/gcc/:boot
 .if ${OSVERSION} >= 500000
 BUILD_DEPENDS+=	${LOCALBASE}/lib/compat/libc.so.4:${PORTSDIR}/misc/compat4x
 .endif
diff -urN /usr/ports/lang/gnat-gcc34/distinfo gnat-gcc34/distinfo
--- /usr/ports/lang/gnat-gcc34/distinfo	Thu Aug  3 22:25:08 2006
+++ gnat-gcc34/distinfo	Wed Aug 23 22:17:16 2006
@@ -1,12 +1,9 @@
-MD5 (gcc-core-3.4.6.tar.bz2) = 5324ace5145b12afd9ca867af7ec084d
-SHA256 (gcc-core-3.4.6.tar.bz2) = 3aab171d86e5a6c14cb9de35467a0472a7d5ef1d5b79a1df72ca533f8e82a133
-SIZE (gcc-core-3.4.6.tar.bz2) = 13366790
-MD5 (gcc-ada-3.4.6.tar.bz2) = 91c43393637247fe1f1ee629aa208610
-SHA256 (gcc-ada-3.4.6.tar.bz2) = d5bfb166b2ad287ba85ebba533cca4453b521479cffc1bd3c6d273f6b3d794e2
-SIZE (gcc-ada-3.4.6.tar.bz2) = 3784327
-MD5 (gcc-testsuite-3.4.6.tar.bz2) = 32a1057b841b4782ae3f4be84a98c085
-SHA256 (gcc-testsuite-3.4.6.tar.bz2) = 87f8c7ca951fd13ea241328de2e0e1af8281f1aa3a68e5831e37ff746a256574
-SIZE (gcc-testsuite-3.4.6.tar.bz2) = 2646715
+MD5 (gcc-core-3.4.6.tar.gz) = bf90936d679795666cfcf353faa560e2
+SHA256 (gcc-core-3.4.6.tar.gz) = c6030bf03ad79b70e556b0ab58c17872bf5b2409caee9db41497bcd6379328f6
+SIZE (gcc-core-3.4.6.tar.gz) = 17345868
+MD5 (gcc-ada-3.4.6.tar.gz) = 90ddaee03adb71725f4dec4356cfb58f
+SHA256 (gcc-ada-3.4.6.tar.gz) = cb6256bc9707cc7543874a5b6f8ed3380e44aebfd9ac01df8bea594ab998e9c1
+SIZE (gcc-ada-3.4.6.tar.gz) = 5113854
 MD5 (gnat-3.15p-boot.tar.gz) = 3b25873a90978b8b4113d71dc3df315f
 SHA256 (gnat-3.15p-boot.tar.gz) = dfa61b98ad7f26ca46f8c5e61d87c42e17ad139616f315df16f25dce38044a9d
 SIZE (gnat-3.15p-boot.tar.gz) = 4608818

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608232119.k7NLJ35t024539>