aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/fxscintilla
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2009-09-27 21:46:00 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2009-09-27 21:46:00 +0000
commit2832f9193577704f26eb0ee5784c8be9acbe7908 (patch)
treefa7a79a9fc440429bd265a302c5c4b2eabb4d6f1 /x11-toolkits/fxscintilla
parentab47cf32098c5d258e4015c5262c3c4fc37de144 (diff)
downloadports-2832f9193577704f26eb0ee5784c8be9acbe7908.tar.gz
ports-2832f9193577704f26eb0ee5784c8be9acbe7908.zip
- Fix LOCALBASE issue.
Reported by: itetcu (QATty) Feature safe: yes
Notes
Notes: svn path=/head/; revision=242184
Diffstat (limited to 'x11-toolkits/fxscintilla')
-rw-r--r--x11-toolkits/fxscintilla/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11-toolkits/fxscintilla/Makefile b/x11-toolkits/fxscintilla/Makefile
index ad3f2f8c2d44..345cc692a318 100644
--- a/x11-toolkits/fxscintilla/Makefile
+++ b/x11-toolkits/fxscintilla/Makefile
@@ -16,7 +16,8 @@ MAINTAINER= araujo@FreeBSD.org
COMMENT= A Fox toolkit reimplementation of Scintilla editing widget
USE_AUTOTOOLS= libtool:22
-CONFIGURE_ARGS+= --enable-shared --disable-static
+CONFIGURE_ARGS+= --enable-shared --disable-static \
+ --includedir=${LOCALBASE}/include
USE_LDCONFIG= yes
.if !defined(MASTERDIR)
@@ -43,5 +44,6 @@ CONFIGURE_ARGS+= --with-fox-1-6
post-patch:
@${REINPLACE_CMD} -e 's|-lFOX-${FOX_LIB_VER}|"-lFOX-${FOX_LIB_VER} ${PTHREAD_LIBS}"|' \
${WRKSRC}/configure ${WRKSRC}/tests/Makefile.in
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/configure
.include <bsd.port.post.mk>