aboutsummaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-05-09 15:26:05 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-05-09 15:26:05 +0000
commit9c92a8c8dd1a31380fb67134fed1c48dad889b2d (patch)
tree291fe4f66c2ebe66a9650999fc7c05dbd11efa24 /astro
parent33f607e0e7ea84a9ed67b3ad0f5374e410350c29 (diff)
downloadports-9c92a8c8dd1a31380fb67134fed1c48dad889b2d.tar.gz
ports-9c92a8c8dd1a31380fb67134fed1c48dad889b2d.zip
Notes
Diffstat (limited to 'astro')
-rw-r--r--astro/cfitsio/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/astro/cfitsio/Makefile b/astro/cfitsio/Makefile
index 15972fbdf882..a14921a55095 100644
--- a/astro/cfitsio/Makefile
+++ b/astro/cfitsio/Makefile
@@ -3,7 +3,7 @@
PORTNAME= cfitsio
PORTVERSION= 3.360
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= astro
MASTER_SITES= http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/ \
http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/oldvers/ \
@@ -24,9 +24,9 @@ OPTIONS_DEFINE= DOCS
ALL_TARGET= libcfitsio.a shared
CFLAGS+= -I${INCLUDEDIR}
CONFIGURE_ARGS= ac_cv_prog_FC=f2c
+CONFIGURE_ENV= LIBS="-L${LIBDIR} -lz"
GNU_CONFIGURE= yes
MAKE_ARGS= ZLIB_SOURCES="zlib/zcompress.c zlib/zuncompress.c"
-LDFLAGS+= -L${LIBDIR} -lz
USE_LDCONFIG= yes
USES= pkgconfig
WRKSRC= ${WRKDIR}/${PORTNAME}