Unfuck this port. Didn't build -> no bump.

This commit is contained in:
ajacoutot 2010-07-25 12:45:08 +00:00
parent 2fcf1a965e
commit b2499274a1
2 changed files with 11 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.2 2010/07/23 18:29:47 naddy Exp $
# $OpenBSD: Makefile,v 1.3 2010/07/25 12:45:08 ajacoutot Exp $
COMMENT = library to edit command lines as they are typed in
V = 6.1
@ -26,4 +26,12 @@ CONFIGURE_STYLE = gnu
PATCHFILES = readline61-001:0 \
readline61-002:0
pre-configure:
perl -pi \
-e 's,^#define RL_VERSION_MAJOR.*,#define RL_VERSION_MAJOR ${LIBereadline_VERSION:R},;' \
-e 's,^#define RL_VERSION_MINOR.*,#define RL_VERSION_MINOR ${LIBereadline_VERSION:E},' \
${WRKSRC}/readline.h
perl -pi -e 's,^LIBVERSION=6.1,LIBVERSION=${LIBereadline_VERSION},' \
${WRKSRC}/configure
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/07/23 14:51:11 laurent Exp $
@comment $OpenBSD: PLIST,v 1.2 2010/07/25 12:45:08 ajacoutot Exp $
%%SHARED%%
include/readline/
include/readline/chardefs.h
@ -9,9 +9,9 @@ include/readline/rlconf.h
include/readline/rlstdc.h
include/readline/rltypedefs.h
include/readline/tilde.h
@info info/ehistory.info
@info info/ereadline.info
@info info/erluserman.info
@info info/history-6.1.info
lib/libehistory.a
lib/libereadline.a
@man man/man3/ehistory.3