diff options
Diffstat (limited to 'devel/hdf/patches/patch-ai')
-rw-r--r-- | devel/hdf/patches/patch-ai | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/devel/hdf/patches/patch-ai b/devel/hdf/patches/patch-ai index aade744ff52..95da51f5928 100644 --- a/devel/hdf/patches/patch-ai +++ b/devel/hdf/patches/patch-ai @@ -1,8 +1,8 @@ -$NetBSD: patch-ai,v 1.2 2001/03/09 22:47:44 jtb Exp $ +$NetBSD: patch-ai,v 1.3 2001/03/22 23:19:17 jtb Exp $ ---- /dev/null Fri Mar 9 22:24:45 2001 +--- /dev/null Thu Mar 22 20:12:43 2001 +++ mfhdf/ncdump/Makefile -@@ -0,0 +1,23 @@ +@@ -0,0 +1,34 @@ +PROG= ncdump +PROGNAME= hdfncdump + @@ -25,4 +25,15 @@ $NetBSD: patch-ai,v 1.2 2001/03/09 22:47:44 jtb Exp $ + +NOGCCERROR= 1 + ++NCGEN= ${.CURDIR}/../ncgen/ncgen ++ ++test: ${PROG} test0.cdl ++ ${NCGEN} -o test0.nc -n test0.cdl ++ ./${PROG} test0.nc > test1.cdl ++ ${NCGEN} -o test1.nc -n test1.cdl ++ ./${PROG} -n test0 test1.nc > test2.cdl ++ @cmp test1.cdl test2.cdl && \ ++ echo "*** ${PROG} test successful ***" ; \ ++ rm test1.cdl test1.nc test2.cdl ++ +.include <bsd.prog.mk> |