aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libdivxencore
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-04-18 16:26:22 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-04-18 16:26:22 +0000
commit0fbfcda2255b83713bc4860fa4cfa78f893890d0 (patch)
tree93d4d4bd7fbd8d7c7a1c68ed33b818865195cf36 /multimedia/libdivxencore
parente71dae43c64a77413f26eddb400bda83f0a0bdc8 (diff)
downloadports-0fbfcda2255b83713bc4860fa4cfa78f893890d0.tar.gz
ports-0fbfcda2255b83713bc4860fa4cfa78f893890d0.zip
If NOPROFILE blocks profiled build, do not try to pack either.
PR: 37206 Prompted by: parv@pair.com
Notes
Notes: svn path=/head/; revision=57855
Diffstat (limited to 'multimedia/libdivxencore')
-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