aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/flvw/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/flvw/Makefile')
-rw-r--r--x11-toolkits/flvw/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/x11-toolkits/flvw/Makefile b/x11-toolkits/flvw/Makefile
index 9ce87a90301c..6a6915e4328f 100644
--- a/x11-toolkits/flvw/Makefile
+++ b/x11-toolkits/flvw/Makefile
@@ -22,6 +22,7 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_XORG= x11 xt
MAKE_ARGS= DIRS=src
+CONFIGURE_ENV+= LIBS="`fltk-config --ldflags`"
PLIST_SUB= INCSDIR="${INCSDIR:S,^${PREFIX}/,,}"
@@ -42,6 +43,7 @@ post-patch:
${WRKSRC}/FL/Flv_List.H
${REINPLACE_CMD} 's/\(friend\) \(Flv_Style_List\)/\1 class \2/' \
${WRKSRC}/FL/Flv_Style.H
+ ${REINPLACE_CMD} 's/-ldl//' ${WRKSRC}/makeinclude.in
post-install: symlink-inc install-doc