Ticket #710: openbsd-build.diff
File openbsd-build.diff, 643 bytes (added by , 13 years ago) |
---|
-
tokyocabinet.setup
1 (define cflags 2 (if (eq? 'openbsd (software-version)) 3 '(-I/usr/local/include) 4 '())) 5 (define lflags 6 (if (eq? 'openbsd (software-version)) 7 '(-L/usr/local/lib) 8 '())) 1 9 2 (compile -s -O2 -f -d0 -X easyffi -j tokyocabinet tokyocabinet.scm -ltokyocabinet)10 (compile -s -O2 -f -d0 -X easyffi -j tokyocabinet tokyocabinet.scm ,@cflags ,@lflags -ltokyocabinet) 3 11 (compile -s -O2 -d0 tokyocabinet.import.scm) 4 12 5 13 (install-extension