From 11a77cdbd766ef5a245065b3607a5222cf007943 Mon Sep 17 00:00:00 2001 From: gahr Date: Tue, 19 Jan 2010 09:11:56 +0000 Subject: - Fix linking options (allows to builds test apps) --- x11-toolkits/flvw/Makefile | 2 ++ x11-toolkits/flvw/pkg-plist | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'x11-toolkits') 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%% -- cgit