aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/flvw
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2010-01-19 17:11:56 +0800
committergahr <gahr@FreeBSD.org>2010-01-19 17:11:56 +0800
commit11a77cdbd766ef5a245065b3607a5222cf007943 (patch)
tree258a4aab3b5ccc0701e5889945bb3fd3040a5677 /x11-toolkits/flvw
parent33dffcf3357e69eedcedd4f13f5671ce1f0ba681 (diff)
downloadfreebsd-ports-gnome-11a77cdbd766ef5a245065b3607a5222cf007943.tar.gz
freebsd-ports-gnome-11a77cdbd766ef5a245065b3607a5222cf007943.tar.zst
freebsd-ports-gnome-11a77cdbd766ef5a245065b3607a5222cf007943.zip
- Fix linking options (allows to builds test apps)
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%%