From ee0da67f56f0b1b415694993291140f3561413a9 Mon Sep 17 00:00:00 2001 From: lioux Date: Thu, 18 Apr 2002 16:25:23 +0000 Subject: If NOPROFILE blocks profiled build, do not try to pack either. PR: 37205 Submitted by: parv@pair.com --- multimedia/libdivxdecore-devel/Makefile | 6 ++++++ multimedia/libdivxdecore-devel/pkg-plist | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'multimedia') diff --git a/multimedia/libdivxdecore-devel/Makefile b/multimedia/libdivxdecore-devel/Makefile index c9bd6eb5fa7e..9cdcd01e5e80 100644 --- a/multimedia/libdivxdecore-devel/Makefile +++ b/multimedia/libdivxdecore-devel/Makefile @@ -26,6 +26,12 @@ WRKSRC= ${WRKDIR}/decore/src LIB_VERSION= 1 +.ifndef(NOPROFILE) +PLIST_SUB= NOPROFILE='' +.else +PLIST_SUB= NOPROFILE='@comment ' +.endif + post-extract: .for ext in c h @${MV} ${WRKSRC}/transferidct.${ext} \ diff --git a/multimedia/libdivxdecore-devel/pkg-plist b/multimedia/libdivxdecore-devel/pkg-plist index 734e4630e1cf..605990654dcd 100644 --- a/multimedia/libdivxdecore-devel/pkg-plist +++ b/multimedia/libdivxdecore-devel/pkg-plist @@ -2,5 +2,5 @@ include/divx/decore.h lib/libdivxdecore.a lib/libdivxdecore.so lib/libdivxdecore.so.%%LIB_VERSION%% -lib/libdivxdecore_p.a +%%NOPROFILE%%lib/libdivxdecore_p.a @unexec rmdir %D/include/divx 2>/dev/null || true -- cgit