ports/65421: [PATCH] astro/gpsdrive: [Use GCC 3.3 on > 501103 ]

michael johnson ahze at ahze.net
Sun Apr 11 00:00:33 UTC 2004


>Number:         65421
>Category:       ports
>Synopsis:       [PATCH] astro/gpsdrive: [Use GCC 3.3 on > 501103 ]
>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:   Sat Apr 10 17:00:33 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     michael johnson
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #37: Sat Mar 27 18:30:44 EST 2004
>Description:
USE gcc 3.3 on  501103 +

Port maintainer (molter at gufi.org) is cc'd.

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- gpsdrive-2.07.r7_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/astro/gpsdrive/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- Makefile	5 Apr 2004 03:29:52 -0000	1.19
+++ Makefile	10 Apr 2004 20:07:46 -0000
@@ -30,7 +30,7 @@
 USE_X_PREFIX=	yes
 USE_GNOME=	gtk20
 USE_LIBTOOL_VER=	13
-USE_GCC=	3.2
+
 CONFIGURE_ENV=	CPPFLAGS=-I${LOCALBASE}/include \
 		LDFLAGS=-L${LOCALBASE}/lib
 CONFIGURE_ARGS=	--disable-garmin --disable-mysql
@@ -39,7 +39,15 @@
 MAN1=		gpsdrive.1
 MANLANG=	"" de es
 
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 501103 && ${OSVERSION} >= 500000
+USE_GCC=3.2
+.else
+USE_GCC=3.3
+.endif
+
 post-install:
 	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/astro/gpsdrive/distinfo,v
retrieving revision 1.7
diff -u -r1.7 distinfo
--- distinfo	13 Jan 2004 16:22:02 -0000	1.7
+++ distinfo	10 Apr 2004 20:07:56 -0000
@@ -1 +1,2 @@
 MD5 (gpsdrive-2.07pre7.tar.gz) = 2a409630bc5254920d281adf61f50026
+SIZE (gpsdrive-2.07pre7.tar.gz) = 1357753
--- gpsdrive-2.07.r7_2.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list