aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/flvw
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/flvw')
-rw-r--r--x11-toolkits/flvw/Makefile2
-rw-r--r--x11-toolkits/flvw/pkg-plist2
2 files changed, 3 insertions, 1 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
diff --git a/x11-toolkits/flvw/pkg-plist b/x11-toolkits/flvw/pkg-plist
index 5fd819426aeb..1fb5cb6c5cb0 100644
--- a/x11-toolkits/flvw/pkg-plist
+++ b/x11-toolkits/flvw/pkg-plist
@@ -41,4 +41,4 @@ lib/libflvw.so.1
%%PORTDOCS%%%%DOCSDIR%%/stylebasics.html
%%PORTDOCS%%%%DOCSDIR%%/widget_features.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@unexec rmdir %%INCSDIR%% 2> /dev/null || :
+@dirrmtry %%INCSDIR%%