aboutsummaryrefslogtreecommitdiff
path: root/devel/popt
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-02-09 17:49:10 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-02-09 17:49:10 +0000
commitf2f4bdb2132287d4753e53fdadbf6b8cf0f62c4b (patch)
tree71f085f046125dfe8469bf0f087f4bfab973c536 /devel/popt
parent7fe99bb803947d33dbca375ed001322d2c609b08 (diff)
downloadports-f2f4bdb2132287d4753e53fdadbf6b8cf0f62c4b.tar.gz
ports-f2f4bdb2132287d4753e53fdadbf6b8cf0f62c4b.zip
Notes
Diffstat (limited to 'devel/popt')
-rw-r--r--devel/popt/Makefile4
-rw-r--r--devel/popt/distinfo2
-rw-r--r--devel/popt/files/patch-popt.c15
3 files changed, 19 insertions, 2 deletions
diff --git a/devel/popt/Makefile b/devel/popt/Makefile
index 9d78ff8db397..9a2d635b567b 100644
--- a/devel/popt/Makefile
+++ b/devel/popt/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= popt
-PORTVERSION= 1.5
+PORTVERSION= 1.5.1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/ \
ftp://ftp.mirror.ac.uk/sites/ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/
@@ -15,6 +15,8 @@ MAINTAINER= ycheng@sinica.edu.tw
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
+WRKSRC= ${WRKDIR}/${PORTNAME}-1.5
+
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
diff --git a/devel/popt/distinfo b/devel/popt/distinfo
index d313e657381a..166c541d0277 100644
--- a/devel/popt/distinfo
+++ b/devel/popt/distinfo
@@ -1 +1 @@
-MD5 (popt-1.5.tar.gz) = 13f88aa5db9fa21aa164afdec9c7cfea
+MD5 (popt-1.5.1.tar.gz) = f3317634fb7a1f9ed1c0d48a43a3a4fa
diff --git a/devel/popt/files/patch-popt.c b/devel/popt/files/patch-popt.c
new file mode 100644
index 000000000000..92d6f5b19587
--- /dev/null
+++ b/devel/popt/files/patch-popt.c
@@ -0,0 +1,15 @@
+
+$FreeBSD$
+
+--- popt.c 2001/01/31 09:50:38 1.1
++++ popt.c 2001/01/31 09:51:08
+@@ -5,6 +5,9 @@
+ #include "system.h"
+
+ #include <math.h>
++#ifdef __FreeBSD__
++#include <machine/float.h>
++#endif
+
+ #include "findme.h"
+ #include "poptint.h"