1
0
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:
Mario Sergio Fujikawa Ferreira 2002-04-18 16:26:22 +00:00
parent e71dae43c6
commit 0fbfcda225
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57855
4 changed files with 14 additions and 2 deletions

View File

@ -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}

View File

@ -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

View File

@ -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}

View File

@ -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