freebsd-ports/devel/libnxt/files/patch-SConstruct
Edwin Groothuis ce923a0103 New port: devel/libnxt Lego Mindstorms NXT firmware management
Libnxt is a library and set of tools for managing Lego Mindstorms
    NXT firmware via the Unix command line.

PR:		ports/116398
Submitted by:	Jason Bacon <jwbacon@tds.net>
2007-09-23 02:56:44 +00:00

21 lines
740 B
Text

--- SConstruct.orig Sat Apr 21 23:41:39 2007
+++ SConstruct Sat May 5 13:02:19 2007
@@ -9,7 +9,7 @@
else:
endian = '_NXT_LITTLE_ENDIAN'
-BuildEnv = Environment(CCFLAGS=['-Wall', '-std=gnu99',
+BuildEnv = Environment(CCFLAGS=['-Wall', '-std=gnu99','-I/usr/local/include',
'-g', '-ggdb', '-D' + endian])
if auto_libs:
BuildEnv.ParseConfig('pkg-config --cflags --libs ' + auto_libs)
@@ -24,7 +24,7 @@
LIBS='usb'))
Default(BuildEnv.Program('fwflash', 'main_fwflash.c',
- LIBS=['usb', 'nxt'], LIBPATH='.'))
+ LIBS=['usb', 'nxt'], LIBPATH=['.','/usr/local/lib']))
Default(BuildEnv.Program('fwexec', 'main_fwexec.c',
- LIBS=['usb', 'nxt'], LIBPATH='.'))
+ LIBS=['usb', 'nxt'], LIBPATH=['.','/usr/local/lib']))