mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
44 lines
853 B
Plaintext
44 lines
853 B
Plaintext
$NetBSD: patch-aa,v 1.3 2014/01/02 04:05:33 dholland Exp $
|
|
|
|
Configure for pkgsrc.
|
|
Honor CPPFLAGS and LDFLAGS via autoconf.
|
|
|
|
--- Makefile.in.orig Mon Jul 12 08:15:42 1999
|
|
+++ Makefile.in
|
|
@@ -34,7 +34,7 @@
|
|
exec_prefix = @exec_prefix@
|
|
|
|
BINDIR = $(exec_prefix)/bin
|
|
-LIBDIR = $(prefix)/lib
|
|
+LIBDIR = $(prefix)/share/a60
|
|
MANDIR = $(prefix)/man/man1
|
|
MANSUFF = 1
|
|
|
|
@@ -66,13 +66,15 @@
|
|
DEFS = -DHAVE_CONFIG_H
|
|
##
|
|
|
|
+CPPFLAGS= @CPPFLAGS@
|
|
+
|
|
##
|
|
## Flags for debugging and production:
|
|
##
|
|
# FLAGS = -g
|
|
-FLAGS = -O
|
|
+# FLAGS = -O
|
|
# LDFLAGS = -g
|
|
-LDFLAGS =
|
|
+LDFLAGS = @LDFLAGS@
|
|
|
|
## Uncomment for profiling:
|
|
# PROF = -pg
|
|
@@ -148,7 +150,7 @@
|
|
SRCS = $(ISRCS) $(MSRCS)
|
|
HDRS = $(IHDRS) $(MHDRS)
|
|
|
|
-CFLAGS = $(FLAGS) $(PROF) $(WARN) $(DEFS) $(LIBDIRPATH)
|
|
+CFLAGS += $(PROF) $(WARN) $(DEFS) $(LIBDIRPATH)
|
|
XCFLAGS = $(FLAGS) $(PROF) $(DEFS) $(LIBDIRPATH)
|
|
|
|
##
|