summaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-04-11 14:39:25 +0000
committerkrion <krion@FreeBSD.org>2004-04-11 14:39:25 +0000
commita2436f3acfd4984294bfa85cad23165f8196e979 (patch)
tree4a3f7b27d91c3c364ebbb596734315ffe4d99088 /astro
parent7dfa7490425ac5a80372cbba3455a59dd9bf9ef1 (diff)
downloadFreeBSD-ports-a2436f3acfd4984294bfa85cad23165f8196e979.zip
FreeBSD-ports-a2436f3acfd4984294bfa85cad23165f8196e979.tar.gz
- Use gcc33 for OSVERSION > 501103
- SIZE'ify PR: ports/65421 Submitted by: michael johnson <ahze@ahze.net>
Diffstat (limited to 'astro')
-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 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 <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 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
OpenPOWER on IntegriCloud