Fix build error WITH_EMULATOR.
This commit is contained in:
parent
dc6c6f4f5c
commit
a236e52e9b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=266127
@ -51,15 +51,16 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
|
||||
|
||||
.if defined(WITH_EMULATOR)
|
||||
PKGNAMESUFFIX+= -no_tddl
|
||||
LIB_DEPENDS+= tddl:${PORTSDIR}/emulators/tpm-emulator
|
||||
LIB_DEPENDS+= tddl.1:${PORTSDIR}/emulators/tpm-emulator
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|\.\./tddl/libtddl\.a|${LOCALBASE}/lib/libtddl\.a|g' ${WRKSRC}/src/tcs/Makefile.am
|
||||
@${REINPLACE_CMD} -e 's|\.\./tddl/libtddl\.a|${LOCALBASE}/lib/libtddl\.a|g' ${WRKSRC}/src/tcs/Makefile.in
|
||||
@${REINPLACE_CMD} -e 's|\.\./tddl/libtddl\.a|${LOCALBASE}/lib/libtddl\.a|g' ${WRKSRC}/src/tcsd/Makefile.am
|
||||
@${REINPLACE_CMD} -e 's|\.\./tddl/libtddl\.a|${LOCALBASE}/lib/libtddl\.a|g' ${WRKSRC}/src/tcsd/Makefile.in
|
||||
@${REINPLACE_CMD} -e 's|libtddl\.a||g' ${WRKSRC}/src/tddl/Makefile.in
|
||||
@${REINPLACE_CMD} -e 's|libtddl\.a||g' ${WRKSRC}/src/tddl/Makefile.am
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|$${top_builddir}/src/tddl/libtddl.a|${LOCALBASE}/lib/libtddl.a|' \
|
||||
${WRKSRC}/src/tcs/Makefile.am \
|
||||
${WRKSRC}/src/tcsd/Makefile.am
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|libtddl\.a||g' \
|
||||
${WRKSRC}/src/tddl/Makefile.am
|
||||
|
||||
# The emulator has already a libttddl.so, so comment out trousers' libtddl in the pkg-plist
|
||||
PLIST_SUB+= TDDL="@comment "
|
||||
|
Loading…
Reference in New Issue
Block a user