aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2011-04-12 23:18:34 +0800
committersunpoet <sunpoet@FreeBSD.org>2011-04-12 23:18:34 +0800
commitfdb89ce239806ba71f3fc5603c0308650e4d2bf5 (patch)
treedbf21943991c3cbc446303db27ab3cd7c35d7dd1 /science
parent6377a18a11b091daaefe40573141eed4a1fd3eda (diff)
downloadfreebsd-ports-gnome-fdb89ce239806ba71f3fc5603c0308650e4d2bf5.tar.gz
freebsd-ports-gnome-fdb89ce239806ba71f3fc5603c0308650e4d2bf5.tar.zst
freebsd-ports-gnome-fdb89ce239806ba71f3fc5603c0308650e4d2bf5.zip
- Update to 2.1.22
- CPPFLAGS is now added to CONFIGURE_ENV by Mk/bsd.port.Mk Changes: http://www.unidata.ucar.edu/blogs/news/entry/udunits_version_2_1_22
Diffstat (limited to 'science')
-rw-r--r--science/udunits/Makefile9
-rw-r--r--science/udunits/distinfo4
2 files changed, 8 insertions, 5 deletions
diff --git a/science/udunits/Makefile b/science/udunits/Makefile
index 67cefc2e4890..df670b5339ef 100644
--- a/science/udunits/Makefile
+++ b/science/udunits/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= udunits
-PORTVERSION= 2.1.21
+PORTVERSION= 2.1.22
CATEGORIES= science math
MASTER_SITES= ftp://ftp.unidata.ucar.edu/pub/udunits/ \
LOCAL/sunpoet
@@ -16,9 +16,9 @@ COMMENT= A library for manipulating units of physical quantities
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
- LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
+CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
ac_cv_header_CUnit_CUnit_h=no
+CPPFLAGS+= -I${LOCALBASE}/include
MAKE_JOBS_SAFE= yes
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
@@ -26,4 +26,7 @@ USE_PERL5= yes
INFO= udunits2 udunits2lib udunits2prog
+post-patch:
+ @${REINPLACE_CMD} -e '/install-data-hook$$/d' ${WRKSRC}/lib/Makefile.in
+
.include <bsd.port.mk>
diff --git a/science/udunits/distinfo b/science/udunits/distinfo
index ce5a62deb29e..b8eccdb74bfc 100644
--- a/science/udunits/distinfo
+++ b/science/udunits/distinfo
@@ -1,2 +1,2 @@
-SHA256 (udunits-2.1.21.tar.gz) = e3215d765cce3d371dd30bc1f5abc53f81f55e0a98812c0ac29c36515fef3541
-SIZE (udunits-2.1.21.tar.gz) = 1057910
+SHA256 (udunits-2.1.22.tar.gz) = d06ee529002580646c6cd253c6c90ecd3a274550e8ef1edf994c5d835dd0c816
+SIZE (udunits-2.1.22.tar.gz) = 1058429