From 84f6b6bb6413f187969465814647131388cbbec2 Mon Sep 17 00:00:00 2001 From: itetcu Date: Fri, 5 Jun 2009 17:18:39 +0000 Subject: Fix build with custom LOCALBASE Reported by: QATty --- devel/ocaml-event/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'devel') diff --git a/devel/ocaml-event/Makefile b/devel/ocaml-event/Makefile index c0ae29eade10..f6c72c452cde 100644 --- a/devel/ocaml-event/Makefile +++ b/devel/ocaml-event/Makefile @@ -56,11 +56,11 @@ PLIST_FILES+= lib/ocaml/stublibs/${file} .endfor post-configure: -# CFLAGS,PREFIX safeness - @${REINPLACE_CMD} -E -e \ +# CFLAGS, LOCALBASE safeness + ${REINPLACE_CMD} -E -e \ 's|^(EVENT_LIB=).*$$|\1-levent|; \ - s|^(EVENT_LIBDIR=).$$|\1${LOCALBASE}/lib|; \ - s|^(EVENT_INCDIR=).$$|\1${LOCALBASE}/include|; \ + s|^EVENT_LIBDIR=.*$$|EVENT_LIBDIR=${LOCALBASE}/lib|; \ + s|^EVENT_INCDIR=.*$$|EVENT_INCDIR=${LOCALBASE}/include|; \ s|^(CFLAGS).*$$|\1=${CFLAGS} -I\$$(EVENT_INCDIR)|' \ ${WRKSRC}/Makefile -- cgit