summaryrefslogtreecommitdiff
path: root/audio/dap/patches/patch-ap
diff options
context:
space:
mode:
Diffstat (limited to 'audio/dap/patches/patch-ap')
-rw-r--r--audio/dap/patches/patch-ap17
1 files changed, 14 insertions, 3 deletions
diff --git a/audio/dap/patches/patch-ap b/audio/dap/patches/patch-ap
index ac2e9e7fdfd..bf6765a9728 100644
--- a/audio/dap/patches/patch-ap
+++ b/audio/dap/patches/patch-ap
@@ -1,8 +1,8 @@
-$NetBSD: patch-ap,v 1.3 2000/04/10 18:36:26 rh Exp $
+$NetBSD: patch-ap,v 1.4 2001/05/31 12:30:12 agc Exp $
--- tooltips/Makefile.netbsd.orig Thu Feb 24 01:01:26 2000
+++ tooltips/Makefile.netbsd Mon Apr 10 20:34:10 2000
-@@ -29,17 +29,17 @@
+@@ -29,17 +29,19 @@
XFORMS_INCLUDE_DIR = $(HOME)/xforms/FORMS
# Define where the X11 include files are.
@@ -14,7 +14,9 @@ $NetBSD: patch-ap,v 1.3 2000/04/10 18:36:26 rh Exp $
# Define other include file directories.
-OTHER_INCLUDE_DIR = /usr/X11R6/include
-+OTHER_INCLUDE_DIR = ${X11BASE}/include
++OTHER_INCLUDE_DIR = ${X11PREFIX}/include/X11
++
++X11_BASE_INCLUDE= ${X11BASE}/include
# Uncomment out this line if you do not want debug information included.
# DEBUG = -g -Wall -ansi -pedantic
@@ -23,3 +25,12 @@ $NetBSD: patch-ap,v 1.3 2000/04/10 18:36:26 rh Exp $
# Set the default optimisation
OPTIM = -O1
+@@ -47,7 +49,7 @@
+ # Define the utilities to use for compilation.
+ CC = gcc
+ CCOPTS = $(DEBUG) $(OPTIM) -I$(XFORMS_INCLUDE_DIR) -I$(X11_INCLUDE_DIR) \
+- -I$(SUN_INCLUDE_DIR) -I$(OTHER_INCLUDE_DIR)
++ -I$(SUN_INCLUDE_DIR) -I$(OTHER_INCLUDE_DIR) -I${X11_BASE_INCLUDE}
+ AR = ar
+ AROPTS = ruv
+ SED = sed