aboutsummaryrefslogtreecommitdiff
path: root/security/nettle
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2011-08-18 08:39:56 +0000
committerJohan van Selst <johans@FreeBSD.org>2011-08-18 08:39:56 +0000
commit0ae7fe0c5b4899abceffe33302162636ca952d16 (patch)
treebe550d5a0d8668d320f18c0fe642ea7f24ab1c67 /security/nettle
parent1c81270cfc936df13c7060e60fdd3990c0a6e4b9 (diff)
downloadports-0ae7fe0c5b4899abceffe33302162636ca952d16.tar.gz
ports-0ae7fe0c5b4899abceffe33302162636ca952d16.zip
Fix nettle build with clang on i386: correct assembly
PR: ports/159773 Submitted by: rene
Notes
Notes: svn path=/head/; revision=279950
Diffstat (limited to 'security/nettle')
-rw-r--r--security/nettle/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/security/nettle/Makefile b/security/nettle/Makefile
index 3c3adec8842e..5ba648fcf4c9 100644
--- a/security/nettle/Makefile
+++ b/security/nettle/Makefile
@@ -36,6 +36,10 @@ EXAMPLES= examples/*.c examples/*.h
INFO= nettle
+post-patch:
+ @${REINPLACE_CMD} -e 's/[[:<:]]sub[[:>:]]/subl/' \
+ ${WRKSRC}/x86/camellia-crypt-internal.asm
+
post-install:
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}