summaryrefslogtreecommitdiff
path: root/devel/rlwrap/Makefile
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2002-07-04 07:11:43 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2002-07-04 07:11:43 +0000
commit6d80918d43a261cc0cf9f10b44988fdbb4a0c2ea (patch)
tree2d37fe6696d25da9a81f841d8c1d8b15cffef46b /devel/rlwrap/Makefile
parentRUN_DEPENDS instead of BUILD_DEPENDS (diff)
o Update to 0.12
o Check __FreeBSD_version < 500018 which doesn't have libreadline 4.2 PR: 38454, 39640 Submitted by: Tilman Linneweh <tilman@arved.de>, KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=62414
Diffstat (limited to 'devel/rlwrap/Makefile')
-rw-r--r--devel/rlwrap/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/devel/rlwrap/Makefile b/devel/rlwrap/Makefile
index d3a7649be6f0..bbd9ca2fce89 100644
--- a/devel/rlwrap/Makefile
+++ b/devel/rlwrap/Makefile
@@ -7,24 +7,27 @@
#
PORTNAME= rlwrap
-PORTVERSION= 0.10
+PORTVERSION= 0.12
CATEGORIES= devel
MASTER_SITES= http://utopia.knoware.nl/~hlub/uck/rlwrap/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
+LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500018
+BROKEN= "Requires readline 4.2 or newer"
+.endif
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
ALL_TARGET= # empty
-MANCOMPRESSED= no
MAN1= rlwrap.1
-post-patch:
- @${PERL} -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Makefile.in
-
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>