aboutsummaryrefslogtreecommitdiffstats
path: root/science/hdf/files
diff options
context:
space:
mode:
Diffstat (limited to 'science/hdf/files')
-rw-r--r--science/hdf/files/man/Makefile2
-rw-r--r--science/hdf/files/mfhdf/libsrc/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/science/hdf/files/man/Makefile b/science/hdf/files/man/Makefile
index eeea6c1997f7..6c63417f56be 100644
--- a/science/hdf/files/man/Makefile
+++ b/science/hdf/files/man/Makefile
@@ -5,7 +5,7 @@ MANDIR = ${PREFIX}/man/man
MAN1 = hdf.1 hdfunpac.1
MAN3 = gr_chunk.3
-.include <bsd.man.mk>
+.include <bsd.prog.mk>
install: all-man maninstall
diff --git a/science/hdf/files/mfhdf/libsrc/Makefile b/science/hdf/files/mfhdf/libsrc/Makefile
index ab7da6ca3d22..6b1c2137bc76 100644
--- a/science/hdf/files/mfhdf/libsrc/Makefile
+++ b/science/hdf/files/mfhdf/libsrc/Makefile
@@ -22,7 +22,7 @@ CFLAGS += -DSWAP
.endif
LDADD += -L${.CURDIR}/../../hdf/src -ldf
-LDFLAGS += -L. -l${LIB} ${LDADD}
+LDFLAGS += -L. ${LDADD}
afterinstall:
install -c -o root -g wheel -m 444 hdf2netcdf.h local_nc.h \