aboutsummaryrefslogtreecommitdiff
path: root/astro/cfitsio/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'astro/cfitsio/Makefile')
-rw-r--r--astro/cfitsio/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/astro/cfitsio/Makefile b/astro/cfitsio/Makefile
index a14921a55095..1a08cf6ba5d2 100644
--- a/astro/cfitsio/Makefile
+++ b/astro/cfitsio/Makefile
@@ -23,8 +23,8 @@ OPTIONS_DEFINE= DOCS
ALL_TARGET= libcfitsio.a shared
CFLAGS+= -I${INCLUDEDIR}
+LIBS+= -L${LIBDIR} -lz
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"
USE_LDCONFIG= yes