Summary: | [PATCH] fix for archivers/snappy to compile with any external compiler | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Kenneth Salerno <kennethsalerno> | ||||
Component: | Individual Port(s) | Assignee: | Vanilla I. Shu <vanilla> | ||||
Status: | New --- | ||||||
Severity: | Affects Only Me | Flags: | bugzilla:
maintainer-feedback?
(vanilla) |
||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Created attachment 192293 [details] Patch to fix compilation with external compilers Tested with llvm60 (CC=clang60), but this patch will address the following error for any llvm version other than the system compiler in base: In file included from snappy_unittest.cc:40: ./snappy-test.h:110:10: fatal error: 'lzo/lzo1x.h' file not found Added a BUILD_DEPENDS and -I CFLAGS patch to Makefile to get this result instead: ===> snappy-1.1.6 depends on file: /usr/local/include/lzo/lzo1x.h - found See attached patch for your review. Thank you.