aboutsummaryrefslogtreecommitdiff
path: root/security/trousers
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2010-12-12 16:20:52 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2010-12-12 16:20:52 +0000
commita236e52e9b45dbdcca96ef4e7b2e4d268df9962a (patch)
tree04b2f0cd2c44ba6136334d39ef469706ff6ac21e /security/trousers
parentdc6c6f4f5c8a981ba386b9dca5416da53897133f (diff)
downloadports-a236e52e9b45dbdcca96ef4e7b2e4d268df9962a.tar.gz
ports-a236e52e9b45dbdcca96ef4e7b2e4d268df9962a.zip
Notes
Diffstat (limited to 'security/trousers')
-rw-r--r--security/trousers/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/security/trousers/Makefile b/security/trousers/Makefile
index 59433e7d2b78..51bac97677ba 100644
--- a/security/trousers/Makefile
+++ b/security/trousers/Makefile
@@ -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 "