diff options
author | lioux <lioux@FreeBSD.org> | 2002-04-18 16:26:22 +0000 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2002-04-18 16:26:22 +0000 |
commit | c3d6a4059050d03d0ef590630aa89ae462c169b2 (patch) | |
tree | b40748551f987f3da703952afe9817279c05156e /multimedia | |
parent | ee0da67f56f0b1b415694993291140f3561413a9 (diff) | |
download | FreeBSD-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/Makefile | 6 | ||||
-rw-r--r-- | multimedia/libdivxencore/pkg-plist | 2 |
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 |