aboutsummaryrefslogtreecommitdiff
path: root/astro/gpsdrive
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-04-11 14:39:25 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-04-11 14:39:25 +0000
commitc92094321b289125cd59cd19f251bc129d454b3c (patch)
tree8cbd41a810837a0cc4d50b6126574fc3cd6edad9 /astro/gpsdrive
parentd454928a9213c654a44c2a0457b96e567f19b8cb (diff)
downloadports-c92094321b289125cd59cd19f251bc129d454b3c.tar.gz
ports-c92094321b289125cd59cd19f251bc129d454b3c.zip
- Use gcc33 for OSVERSION > 501103
- SIZE'ify PR: ports/65421 Submitted by: michael johnson <ahze@ahze.net>
Notes
Notes: svn path=/head/; revision=106731
Diffstat (limited to 'astro/gpsdrive')
-rw-r--r--astro/gpsdrive/Makefile12
-rw-r--r--astro/gpsdrive/distinfo1
2 files changed, 11 insertions, 2 deletions
diff --git a/astro/gpsdrive/Makefile b/astro/gpsdrive/Makefile
index 8b701e081f27..6d1ab78aff23 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 <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>
diff --git a/astro/gpsdrive/distinfo b/astro/gpsdrive/distinfo
index 5182f81b96cb..227fbc2e90e1 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