ports/devel/mspdebug/files/patch-Makefile
Eitan Adler 6b4f8c7600 Update to 0.21
Changes:
* Support for flat binary files.
* Various bug fixes, including many disassembly fixes, an issue
causing FRAM reset-vector corruption and refactoring of drivers.
* Support for UIF BSL access via USB.
* Support for Olimex MSP430-JTAG-ISO-MK2, including power profiling.
* Support for parallel JTAG.
* Support for many new chips when using Olimex drivers.
* Add new interface mode for use with front-ends.
* Support for new chips: MSP430F6736, MSP430F2252, MSP430G2403,
MSP430F6435.
* Support for watchpoints using MSP430.DLL (tilib) driver.
* Support for GoodFET (memory access/programming only).
* Basic C++ demangling support.
* New commands: "fill" and "verify".
* Erase requests are now ignored when using FRAM chips.

PR:		ports/174468
Submitted by:	peterj (maintainer)
2012-12-16 05:20:17 +00:00

17 lines
523 B
Text

--- Makefile.orig 2012-11-26 10:27:48.000000000 +1100
+++ Makefile 2012-12-16 15:13:34.359453238 +1100
@@ -45,8 +45,14 @@
PORTS_CFLAGS := $(shell pkg-config --cflags libusb)
PORTS_LDFLAGS := $(shell pkg-config --libs libusb) -ltermcap -pthread
else
+ ifeq ($(UNAME_S),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