summaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-04-18 16:26:22 +0000
committerlioux <lioux@FreeBSD.org>2002-04-18 16:26:22 +0000
commitc3d6a4059050d03d0ef590630aa89ae462c169b2 (patch)
treeb40748551f987f3da703952afe9817279c05156e /multimedia
parentee0da67f56f0b1b415694993291140f3561413a9 (diff)
downloadFreeBSD-ports-c3d6a4059050d03d0ef590630aa89ae462c169b2.zip
FreeBSD-ports-c3d6a4059050d03d0ef590630aa89ae462c169b2.tar.gz
If NOPROFILE blocks profiled build, do not try to pack either.
PR: 37206 Prompted by: parv@pair.com
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libdivxencore/Makefile6
-rw-r--r--multimedia/libdivxencore/pkg-plist2
2 files changed, 7 insertions, 1 deletions
diff --git a/multimedia/libdivxencore/Makefile b/multimedia/libdivxencore/Makefile
index 03e3141..00c06d5 100644
--- a/multimedia/libdivxencore/Makefile
+++ b/multimedia/libdivxencore/Makefile
@@ -24,6 +24,12 @@ WRKSRC= ${WRKDIR}/encore/src
LIB_VERSION= 0
+.ifndef(NOPROFILE)
+PLIST_SUB= NOPROFILE=''
+.else
+PLIST_SUB= NOPROFILE='@comment '
+.endif
+
post-extract:
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
diff --git a/multimedia/libdivxencore/pkg-plist b/multimedia/libdivxencore/pkg-plist
index da5ae3c..af46d29 100644
--- a/multimedia/libdivxencore/pkg-plist
+++ b/multimedia/libdivxencore/pkg-plist
@@ -2,5 +2,5 @@ include/divx/encore.h
lib/libdivxencore.a
lib/libdivxencore.so
lib/libdivxencore.so.%%LIB_VERSION%%
-lib/libdivxencore_p.a
+%%NOPROFILE%%lib/libdivxencore_p.a
@unexec rmdir %D/include/divx 2>/dev/null || true
OpenPOWER on IntegriCloud