From 06f26e3c93b886496e98eb4357721c0e3998289e Mon Sep 17 00:00:00 2001 From: naddy Date: Sun, 28 Aug 2011 19:02:29 +0000 Subject: [PATCH] honor CC, CFLAGS, INSTALL_STRIP; ok jasper@ --- devel/mspdebug/Makefile | 4 +++- devel/mspdebug/patches/patch-Makefile | 12 ------------ 2 files changed, 3 insertions(+), 13 deletions(-) delete mode 100644 devel/mspdebug/patches/patch-Makefile diff --git a/devel/mspdebug/Makefile b/devel/mspdebug/Makefile index 211c956ee15..8923ff854d1 100644 --- a/devel/mspdebug/Makefile +++ b/devel/mspdebug/Makefile @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.7 2011/08/24 12:05:55 jasper Exp $ +# $OpenBSD: Makefile,v 1.8 2011/08/28 19:02:29 naddy Exp $ COMMENT= debugger for use with MSP 430 MCUs DISTNAME= mspdebug-0.17 +REVISION= 0 CATEGORIES= devel HOMEPAGE= http://mspdebug.sourceforge.net/ @@ -22,6 +23,7 @@ WANTLIB += c readline termcap usb LIB_DEPENDS= devel/libusb USE_GMAKE= Yes +MAKE_FLAGS= CC="${CC}" GCC_CFLAGS="" LDFLAGS="" NO_REGRESS= Yes diff --git a/devel/mspdebug/patches/patch-Makefile b/devel/mspdebug/patches/patch-Makefile deleted file mode 100644 index d67488dc27a..00000000000 --- a/devel/mspdebug/patches/patch-Makefile +++ /dev/null @@ -1,12 +0,0 @@ -$OpenBSD: patch-Makefile,v 1.6 2011/08/24 12:05:55 jasper Exp $ ---- Makefile.orig Wed Aug 24 13:57:52 2011 -+++ Makefile Wed Aug 24 13:57:57 2011 -@@ -16,7 +16,7 @@ - # along with this program; if not, write to the Free Software - # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - --CC = gcc -+CC ?= gcc - INSTALL = /usr/bin/install - PREFIX ?= /usr/local - LDFLAGS ?= -s