From a2436f3acfd4984294bfa85cad23165f8196e979 Mon Sep 17 00:00:00 2001 From: krion Date: Sun, 11 Apr 2004 14:39:25 +0000 Subject: - Use gcc33 for OSVERSION > 501103 - SIZE'ify PR: ports/65421 Submitted by: michael johnson --- astro/gpsdrive/Makefile | 12 ++++++++++-- astro/gpsdrive/distinfo | 1 + 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'astro') diff --git a/astro/gpsdrive/Makefile b/astro/gpsdrive/Makefile index 8b701e0..6d1ab78 100644 --- a/astro/gpsdrive/Makefile +++ b/astro/gpsdrive/Makefile @@ -30,7 +30,7 @@ USE_GMAKE= yes 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 @@ INSTALLS_SHLIB= yes MAN1= gpsdrive.1 MANLANG= "" de es +.include + +.if ${OSVERSION} < 501103 && ${OSVERSION} >= 500000 +USE_GCC=3.2 +.else +USE_GCC=3.3 +.endif + post-install: @${CAT} ${PKGMESSAGE} -.include +.include diff --git a/astro/gpsdrive/distinfo b/astro/gpsdrive/distinfo index 5182f81..227fbc2 100644 --- a/astro/gpsdrive/distinfo +++ b/astro/gpsdrive/distinfo @@ -1 +1,2 @@ MD5 (gpsdrive-2.07pre7.tar.gz) = 2a409630bc5254920d281adf61f50026 +SIZE (gpsdrive-2.07pre7.tar.gz) = 1357753 -- cgit v1.1