aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-07-23 04:46:32 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-07-23 04:46:32 +0000
commitf9b948bc4aa1f99c91b7d52244cade74afe5cfb3 (patch)
tree9d0ebea57f054c76ce9a311808954dfb14ac15c3 /databases
parent200e127a8708f451d9a7bffd7e2bed73bad05367 (diff)
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/sqlrelay/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/databases/sqlrelay/Makefile b/databases/sqlrelay/Makefile
index 3d83fef360a2..41e948820011 100644
--- a/databases/sqlrelay/Makefile
+++ b/databases/sqlrelay/Makefile
@@ -136,6 +136,7 @@ post-extract:
post-patch:
${PERL} -i -pe 's,\blibiconv\b,libgiconv,g;s,-liconv\b,-lgiconv,g' ${WRKSRC}/configure.in
+ find ${WRKSRC}/src/api -type f | xargs ${GREP} -Ele '-L(\.\./)?\.\./c\+\+/lib' /dev/null | xargs ${PERL} -i -pe 's|-L(?:\.\./)?\.\./c\+\+/lib|-L${LOCALBASE}/lib|'
.if defined(WITH_GTK) && ${WITH_GTK:L} != no
${PERL} -i -pe 's,\bgtk-config\b,${GTK_CONFIG:T},g' ${WRKSRC}/configure.in
.endif