aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-09-08 06:06:04 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-09-08 06:06:04 +0000
commit599d825673e111c096305960c37f9ccd362b634b (patch)
tree4312638c40fd94fa2691d88331b4684d545a9d15 /devel
parentb111302f448717dbf26e086420c90e15257e34a3 (diff)
downloadports-599d825673e111c096305960c37f9ccd362b634b.tar.gz
ports-599d825673e111c096305960c37f9ccd362b634b.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/libedit/Makefile13
-rw-r--r--devel/libedit/distinfo2
-rw-r--r--devel/libedit/files/patch-aa20
3 files changed, 10 insertions, 25 deletions
diff --git a/devel/libedit/Makefile b/devel/libedit/Makefile
index 6c7d1e1176fe..af69072f6fdd 100644
--- a/devel/libedit/Makefile
+++ b/devel/libedit/Makefile
@@ -6,15 +6,16 @@
#
PORTNAME= libedit
-PORTVERSION= 2.6.4
-PORTREVISION= 1
+PORTVERSION= 2.6.7
CATEGORIES= devel
-MASTER_SITES= http://www.canonware.com/download/libedit/
+MASTER_SITES= ftp://ftp.astron.com/pub/libedit/ \
+ http://www.canonware.com/download/libedit/
MAINTAINER= ports@FreeBSD.org
COMMENT= Command line editing library
-USE_AUTOCONF= yes
+USE_REINPLACE= yes
+GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-readline
INSTALLS_SHLIB= yes
@@ -39,4 +40,8 @@ MLINKS= editline.3 el_init.3 \
editline.3 history.3
MANCOMPRESSED= no
+post-patch:
+ @${REINPLACE_CMD} -e 's|CFLAGS -O|CFLAGS|g ; \
+ s|MAJOR="2"|MAJOR="5"|g' ${WRKSRC}/configure
+
.include <bsd.port.mk>
diff --git a/devel/libedit/distinfo b/devel/libedit/distinfo
index 1767fa48e7cf..9b187bf2bd7f 100644
--- a/devel/libedit/distinfo
+++ b/devel/libedit/distinfo
@@ -1 +1 @@
-MD5 (libedit-2.6.4.tar.gz) = 596cd1fad4489abbd29289665bc25610
+MD5 (libedit-2.6.7.tar.gz) = 6640a3d3d58f0ce1d8c69cfd5cc5a517
diff --git a/devel/libedit/files/patch-aa b/devel/libedit/files/patch-aa
deleted file mode 100644
index ae3c81c11ccd..000000000000
--- a/devel/libedit/files/patch-aa
+++ /dev/null
@@ -1,20 +0,0 @@
---- configure.in.orig Mon Feb 11 08:36:44 2002
-+++ configure.in Tue Jan 14 07:31:02 2003
-@@ -118,7 +118,7 @@
- CPPFLAGS="$CPPFLAGS -DDEBUG_TTY -DDEBUG_KEY -DDEBUG_READ -DDEBUG"
- CPPFLAGS="$CPPFLAGS -DDEBUG_REFRESH -DDEBUG_PASTE"
- else
-- CFLAGS="$CFLAGS -O"
-+ CFLAGS="$CFLAGS"
- fi
-
-
-@@ -169,7 +169,7 @@
-
- dnl Library settings.
- LIB_DIRS="lib"
--LIB_MAJOR="2"
-+LIB_MAJOR="5"
- LIB_MINOR="6"
- LIB_A="libedit.a"
- LIB_A_LINKS=