Add missing build_depends.
Set CPPFLAGS, CFLAGS, LDFLAGS in a consistent way (re-add -fPIC to CFLAGS which was removed on first import). ok jasper@
This commit is contained in:
parent
7a789b76c8
commit
4c5ebf3217
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2009/08/30 16:40:16 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2009/08/31 11:48:29 ajacoutot Exp $
|
||||
|
||||
COMMENT= Device Tree Compiler
|
||||
|
||||
@ -17,8 +17,10 @@ MASTER_SITES= http://nedbsd.eu/~jasper/distfiles/
|
||||
|
||||
WANTLIB += c
|
||||
|
||||
BUILD_DEPENDS= ::devel/bison
|
||||
|
||||
USE_GMAKE= Yes
|
||||
MAKE_ENV+= LDFLAGS="-fPIC"
|
||||
MAKE_ENV+= V=1
|
||||
|
||||
REGRESS_TARGET= check
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2009/08/30 16:40:16 jasper Exp $
|
||||
$OpenBSD: patch-Makefile,v 1.2 2009/08/31 11:48:29 ajacoutot Exp $
|
||||
--- Makefile.orig Sun Aug 30 16:46:06 2009
|
||||
+++ Makefile Sun Aug 30 17:14:33 2009
|
||||
@@ -15,8 +15,8 @@ EXTRAVERSION =
|
||||
@ -7,8 +7,8 @@ $OpenBSD: patch-Makefile,v 1.1.1.1 2009/08/30 16:40:16 jasper Exp $
|
||||
|
||||
-CPPFLAGS = -I libfdt
|
||||
-CFLAGS = -Wall -g -Os -fPIC -Wpointer-arith -Wcast-qual
|
||||
+CPPFLAGS ?= -I libfdt
|
||||
+CFLAGS ?= -Wall -fPIC -Wpointer-arith -Wcast-qual
|
||||
+CPPFLAGS += -I libfdt
|
||||
+CFLAGS += -Wall -fPIC -Wpointer-arith -Wcast-qual
|
||||
|
||||
BISON = bison
|
||||
LEX = flex
|
||||
|
Loading…
Reference in New Issue
Block a user