diff options
author | gdt <gdt> | 2009-02-21 14:53:43 +0000 |
---|---|---|
committer | gdt <gdt> | 2009-02-21 14:53:43 +0000 |
commit | d041456e39242675df4e9546d3642af97a758b3e (patch) | |
tree | 9e2131c2aac78c28be85b3659f12860dfbd0ea9a /geography/garmin-utils/patches/patch-aa | |
parent | 1157a8535021833692df86e2170bb5de91f585d6 (diff) | |
download | pkgsrc-d041456e39242675df4e9546d3642af97a758b3e.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/garmin-utils/patches/patch-aa')
-rw-r--r-- | geography/garmin-utils/patches/patch-aa | 4 |
1 files changed, 2 insertions, 2 deletions
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 |