summaryrefslogtreecommitdiff
path: root/devel/hdf/patches/patch-ai
blob: aade744ff52564b42b65e8f6a0e40318bc75f764 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$NetBSD: patch-ai,v 1.2 2001/03/09 22:47:44 jtb Exp $

--- /dev/null	Fri Mar  9 22:24:45 2001
+++ mfhdf/ncdump/Makefile
@@ -0,0 +1,23 @@
+PROG= ncdump
+PROGNAME= hdfncdump
+
+MAN= hdfncdump.1
+
+SRCS= ncdump.c vardata.c dumplib.c
+
+BINDIR= ${PREFIX}/bin
+LIBDIR= ${PREFIX}/lib
+MANDIR= ${PREFIX}/man
+
+JPEGLIB= -Wl,-R${JPEGBASE} -L${JPEGBASE} -ljpeg
+HDFLIB= -L${.CURDIR}/../../hdf/src -ldf
+MFHDFLIB= -L${.CURDIR}/../libsrc -lmfhdf
+MFHDFINC= -I${.CURDIR}/../libsrc
+
+LDFLAGS+= -Wl,-R${LIBDIR} ${MFHDFLIB} ${HDFLIB} ${JPEGLIB}
+
+CPPFLAGS+= ${MFHDFINC} @SWAP@
+
+NOGCCERROR= 1
+
+.include <bsd.prog.mk>