diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2011-11-24 15:55:53 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2011-11-24 15:55:53 +0000 |
commit | 260cdab2eced7f2f25298dd8adb90b4d751b9013 (patch) | |
tree | 67b815a23662c0b26115e2545d6e906749fa89a6 /security/luasec | |
parent | 95cb846a77a49b542ba349af09b066b5a36f55e1 (diff) | |
download | ports-260cdab2eced7f2f25298dd8adb90b4d751b9013.tar.gz ports-260cdab2eced7f2f25298dd8adb90b4d751b9013.zip |
Notes
Diffstat (limited to 'security/luasec')
-rw-r--r-- | security/luasec/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/security/luasec/Makefile b/security/luasec/Makefile index 7600a1be6698..c596fa23c877 100644 --- a/security/luasec/Makefile +++ b/security/luasec/Makefile @@ -33,4 +33,11 @@ USE_OPENSSL= yes USE_OPENSSL_PORT=yes .endif +post-patch: .SILENT + ${REINPLACE_CMD} -Ee '/^CC/s/=/?=/' \ + -e '/^LD/s/gcc/$$(CC)/' \ + -e '/^(C|LD)FLAGS/s/=/+=/' \ + -e '/^BSD/{s/-O[0-3]?//;}' \ + ${WRKSRC}/src/Makefile + .include <bsd.port.mk> |