pkgsrc/misc/nxtvepg/patches/patch-ae
2004-12-04 14:51:21 +00:00

31 lines
876 B
Text

$NetBSD: patch-ae,v 1.10 2004/12/04 14:51:21 wiz Exp $
--- Makefile.bsd.orig 2003-10-23 20:30:02.000000000 +0200
+++ Makefile.bsd
@@ -32,7 +32,7 @@
X11BASE ?= /usr/X11R6
LOCALBASE ?= /usr/local
PREFIX ?= $(X11BASE)
-
+BUILD_DIR = build-netbsd
prefix = $(PREFIX)
TK_LIBRARY_BASE = $(LOCALBASE)/lib
ifeq ($(OS), FreeBSD)
@@ -64,7 +64,7 @@ endif
### Common part for all UN*X variants ###
# Tools
-PERL ?= /usr/bin/perl
+PERL ?= ${LOCALBASE}/bin/perl
CC ?= gcc
ECHO ?= @echo
@@ -125,7 +125,7 @@ WARN = -Wall -Wnested-externs -Wstric
#WARN += -Wpointer-arith -Werror
# the following flags can be overridden by an environment variable with the same name
CFLAGS ?= $(OPTFLAGS)
-CFLAGS += $(WARN) $(INCS) $(DEFS)
+CFLAGS += $(WARN) $(INCS) $(DEFS) -I$(BUILD_DIR)
#LDLIBS += -pg