diff options
author | itetcu <itetcu@FreeBSD.org> | 2009-06-06 01:18:39 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2009-06-06 01:18:39 +0800 |
commit | 84f6b6bb6413f187969465814647131388cbbec2 (patch) | |
tree | af5bc2ce2fceafe8b5ba9b34eaea8d206938de21 /devel | |
parent | e518e96eeb778a9e5e56660b41f2950c834f0319 (diff) | |
download | freebsd-ports-gnome-84f6b6bb6413f187969465814647131388cbbec2.tar.gz freebsd-ports-gnome-84f6b6bb6413f187969465814647131388cbbec2.tar.zst freebsd-ports-gnome-84f6b6bb6413f187969465814647131388cbbec2.zip |
Fix build with custom LOCALBASE
Reported by: QATty
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ocaml-event/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
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 |