From 47ce7d1423e63531af659b6144eaa1c85ce221de Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Thu, 24 Jul 2014 14:53:06 +0000 Subject: - Fix linking with readline from ports - While at it, convert to USES=libtool --- lang/kawa/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lang') diff --git a/lang/kawa/Makefile b/lang/kawa/Makefile index 84e00f805ee1..3c019348a8c9 100644 --- a/lang/kawa/Makefile +++ b/lang/kawa/Makefile @@ -15,14 +15,14 @@ LICENSE= MIT BUILD_DEPENDS= ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo -USES= gmake readline +USES= gmake libtool readline USE_JAVA= yes -USE_AUTOTOOLS= libtool GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-kawa-frontend \ --with-java-source=${JAVA_PORT_VERSION} \ --with-libtool CONFIGURE_ENV+= MAKEINFO=${LOCALBASE}/bin/makeinfo +MAKE_ENV+= READLINE_LIB_PATH=${LOCALBASE}/lib MAKE_JOBS_UNSAFE=yes @@ -37,6 +37,9 @@ pre-patch: -e '/^JAR =/s|[a-zA-Z]*$$|${JAR}|g;' @${REINPLACE_CMD} -e 's|{JAVAC-javac}|{JAVAC-${JAVAC}}|g;' \ -e 's|{JAVA-java}|{JAVA-${JAVA}}|g;' ${WRKSRC}/configure + @${REINPLACE_CMD} -e '/^READLINE_LIB_PATH =/s|$$|-L${LOCALBASE}/lib|' \ + ${WRKSRC}/bin/Makefile.in \ + ${WRKSRC}/bin/Makefile.am regression-test: build cd ${WRKSRC} && ${MAKE_CMD} check -- cgit v1.2.3