From 2b65b8ed3fa4b73a5bc50737e46a2099a3a5ee5f Mon Sep 17 00:00:00 2001 From: jolan Date: Mon, 16 May 2011 17:37:59 +0000 Subject: [PATCH] fix packaging with no_web FLAVOR --- x11/vlc/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/x11/vlc/Makefile b/x11/vlc/Makefile index 7393d6d2eca..0b7a9725c26 100644 --- a/x11/vlc/Makefile +++ b/x11/vlc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.128 2011/05/11 09:08:07 dcoppa Exp $ +# $OpenBSD: Makefile,v 1.129 2011/05/16 17:37:59 jolan Exp $ SHARED_ONLY= Yes @@ -176,7 +176,9 @@ post-install: ${INSTALL_DATA} ${WRKBUILD}/share/vlc${_img}.png \ ${PREFIX}/share/icons/hicolor/${_img}/apps/vlc.png .endfor +.if !${FLAVOR:L:Mno_web} @rm ${PREFIX}/lib/mozilla/plugins/libvlcplugin.a +.endif @find ${PREFIX}/lib/vlc -name '*.a' -print | xargs rm @find ${PREFIX}/lib -name '*.la' -print | xargs rm