pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/geography/garmin-utils patch-aa is broken on NetBSD 5;...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cb51c3b4631a
branches:  trunk
changeset: 554845:cb51c3b4631a
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Sat Feb 21 14:53:43 2009 +0000

description:
patch-aa is broken on NetBSD 5; apparently OPSYS is not defined.
Check for it being defined before use.

diffstat:

 geography/garmin-utils/Makefile         |  3 ++-
 geography/garmin-utils/distinfo         |  4 ++--
 geography/garmin-utils/patches/patch-aa |  4 ++--
 3 files changed, 6 insertions(+), 5 deletions(-)

diffs (43 lines):

diff -r 223685cb3a98 -r cb51c3b4631a geography/garmin-utils/Makefile
--- a/geography/garmin-utils/Makefile   Sat Feb 21 14:51:53 2009 +0000
+++ b/geography/garmin-utils/Makefile   Sat Feb 21 14:53:43 2009 +0000
@@ -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 -r 223685cb3a98 -r cb51c3b4631a geography/garmin-utils/distinfo
--- a/geography/garmin-utils/distinfo   Sat Feb 21 14:51:53 2009 +0000
+++ b/geography/garmin-utils/distinfo   Sat Feb 21 14:53:43 2009 +0000
@@ -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 -r 223685cb3a98 -r cb51c3b4631a geography/garmin-utils/patches/patch-aa
--- a/geography/garmin-utils/patches/patch-aa   Sat Feb 21 14:51:53 2009 +0000
+++ b/geography/garmin-utils/patches/patch-aa   Sat Feb 21 14:53:43 2009 +0000
@@ -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 @@
                gpsprint.c gpsversion.c gpsformat.c gpsload.c gpsfloat.c
  
 -install:
-+.if ${OPSYS} == "Linux"
++.if defined(OPSYS) && ${OPSYS} == "Linux"
 +SRCS+=                strlcpy.c
 +.endif
  



Home | Main Index | Thread Index | Old Index