aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-04-19 00:26:22 +0800
committerlioux <lioux@FreeBSD.org>2002-04-19 00:26:22 +0800
commitc3d6a4059050d03d0ef590630aa89ae462c169b2 (patch)
treeb40748551f987f3da703952afe9817279c05156e /multimedia
parentee0da67f56f0b1b415694993291140f3561413a9 (diff)
downloadfreebsd-ports-gnome-c3d6a4059050d03d0ef590630aa89ae462c169b2.tar.gz
freebsd-ports-gnome-c3d6a4059050d03d0ef590630aa89ae462c169b2.tar.zst
freebsd-ports-gnome-c3d6a4059050d03d0ef590630aa89ae462c169b2.zip
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 03e314133dc5..00c06d53bb62 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 da5ae3c561f3..af46d29caa35 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