aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--science/szip/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/science/szip/Makefile b/science/szip/Makefile
index 7dcfa0e0d610..683079cea6fa 100644
--- a/science/szip/Makefile
+++ b/science/szip/Makefile
@@ -7,6 +7,7 @@
PORTNAME= szip
PORTVERSION= 2.1
+PORTREVISION= 1
CATEGORIES= science archivers
MASTER_SITES= ftp://ftp.hdfgroup.org/lib-external/szip/2.1/src/:src \
http://hdf.ncsa.uiuc.edu/doc_resource/SZIP/:doc
@@ -22,6 +23,8 @@ USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
DOCFILE= Release_notes_2_0.pdf
+LDFLAGS+= -lm
+CONFIGURE_ARGS+= LDFLAGS="${LDFLAGS}"
post-install:
.if !defined(NOPORTDOCS)