diff options
author | gdt <gdt@pkgsrc.org> | 2009-02-21 14:53:43 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2009-02-21 14:53:43 +0000 |
commit | 7576f607aac510ff2f11e839593447a0f53ffcfd (patch) | |
tree | 9e2131c2aac78c28be85b3659f12860dfbd0ea9a /geography | |
parent | 9c00716b661f2f872a6875090d4c6ee160269329 (diff) | |
download | pkgsrc-7576f607aac510ff2f11e839593447a0f53ffcfd.tar.gz |
patch-aa is broken on NetBSD 5; apparently OPSYS is not defined.
Check for it being defined before use.
Diffstat (limited to 'geography')
-rw-r--r-- | geography/garmin-utils/Makefile | 3 | ||||
-rw-r--r-- | geography/garmin-utils/distinfo | 4 | ||||
-rw-r--r-- | geography/garmin-utils/patches/patch-aa | 4 |
3 files changed, 6 insertions, 5 deletions
diff --git a/geography/garmin-utils/Makefile b/geography/garmin-utils/Makefile index c163ca73e30..1a70c761f27 100644 --- a/geography/garmin-utils/Makefile +++ b/geography/garmin-utils/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.9 2009/02/21 14:51:53 gdt Exp $ +# $NetBSD: Makefile,v 1.10 2009/02/21 14:53:43 gdt Exp $ # DISTNAME= garmin-utils-2.4 +PKGREVISION= 1 CATEGORIES= geography MASTER_SITES= ftp://ftp.snafu.org/pub/ diff --git a/geography/garmin-utils/distinfo b/geography/garmin-utils/distinfo index c4ed97deacb..5040ac5761f 100644 --- a/geography/garmin-utils/distinfo +++ b/geography/garmin-utils/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.8 2009/01/13 21:25:28 joerg Exp $ +$NetBSD: distinfo,v 1.9 2009/02/21 14:53:43 gdt Exp $ SHA1 (garmin-utils-2.4.tar.gz) = be2a95930745d84d5f1bffd91a2c01851c498bce RMD160 (garmin-utils-2.4.tar.gz) = cc3363d429c81a7e65d0287972bdaaac4b115812 Size (garmin-utils-2.4.tar.gz) = 172650 bytes -SHA1 (patch-aa) = c78988c80993ecd92c00f380dbd1222fa33fd846 +SHA1 (patch-aa) = 650305540171cea6b77b52acbffe89fd76901d20 diff --git a/geography/garmin-utils/patches/patch-aa b/geography/garmin-utils/patches/patch-aa index 43a58bafcee..1b58e9449b9 100644 --- a/geography/garmin-utils/patches/patch-aa +++ b/geography/garmin-utils/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.4 2009/01/13 21:24:58 joerg Exp $ +$NetBSD: patch-aa,v 1.5 2009/02/21 14:53:43 gdt Exp $ --- lib/Makefile.orig 2009-01-13 20:50:30.000000000 +0100 +++ lib/Makefile @@ -7,7 +7,7 @@ $NetBSD: patch-aa,v 1.4 2009/01/13 21:24:58 joerg Exp $ gpsprint.c gpsversion.c gpsformat.c gpsload.c gpsfloat.c -install: -+.if ${OPSYS} == "Linux" ++.if defined(OPSYS) && ${OPSYS} == "Linux" +SRCS+= strlcpy.c +.endif |