mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
If NOPROFILE blocks profiled build, do not try to pack either.
PR: 37206 Prompted by: parv@pair.com
This commit is contained in:
parent
e71dae43c6
commit
0fbfcda225
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57855
@ -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}
|
||||
|
||||
|
@ -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
|
||||
|
@ -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}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user