mirror of
https://git.freebsd.org/ports.git
synced 2025-06-27 07:30:32 -04:00
Changes include: * Support for MSP430-JTAG-ISO on platforms other than Linux, via both serial drivers and raw USB access. * Support for new chips: MSP430F5342, MSP430F5329, MSP430F2418, * MSP430F2121, MSP430F2012, MSP430F449. * Fixed support for later-model MSP430-JTAG-TINY rev 2. * Fixed output buffering to allow correct interaction with Eclipse plugins. * Support for raw USB access to FET430UIF and eZ430-F2013. * GDB protocol bug fixes. * Section names are displayed when programming. PR: 165682 Submitted by: Peter Jeremy <peterjeremy@acm.org> (maintainer)
17 lines
501 B
Text
17 lines
501 B
Text
--- Makefile.orig 2011-11-08 08:11:49.000000000 +1100
|
|
+++ Makefile 2012-02-25 09:33:44.098219483 +1100
|
|
@@ -43,8 +43,14 @@
|
|
PORTS_CFLAGS = `pkg-config --cflags libusb`
|
|
PORTS_LDFLAGS = `pkg-config --libs libusb` -ltermcap -pthread
|
|
else
|
|
+ ifeq ($(UNAME),FreeBSD) # FreeBSD Ports stuff
|
|
+# This is only needed prior to FreeBSD 8.x to find libusb
|
|
+ PORTS_CFLAGS = -I${LOCALBASE}/include
|
|
+ PORTS_LDFLAGS = -L${LOCALBASE}/lib
|
|
+ else
|
|
PORTS_CFLAGS =
|
|
PORTS_LDFLAGS =
|
|
+ endif
|
|
endif
|
|
endif
|
|
|