aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-04-19 00:25:23 +0800
committerlioux <lioux@FreeBSD.org>2002-04-19 00:25:23 +0800
commitee0da67f56f0b1b415694993291140f3561413a9 (patch)
tree932f9faf8bc66858f795a53c6cc4d00fa3ac1ff4 /multimedia
parentf8b1ecc4f158de8f33d44574f232d582813458cb (diff)
downloadfreebsd-ports-gnome-ee0da67f56f0b1b415694993291140f3561413a9.tar.gz
freebsd-ports-gnome-ee0da67f56f0b1b415694993291140f3561413a9.tar.zst
freebsd-ports-gnome-ee0da67f56f0b1b415694993291140f3561413a9.zip
If NOPROFILE blocks profiled build, do not try to pack either.
PR: 37205 Submitted by: parv@pair.com
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libdivxdecore-devel/Makefile6
-rw-r--r--multimedia/libdivxdecore-devel/pkg-plist2
2 files changed, 7 insertions, 1 deletions
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