blob: 711af3637841fd8a06f232c8bc0c4efe5294de89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$NetBSD: patch-aa,v 1.4 2002/04/14 15:07:18 jlam Exp $
--- sys/bsd/Makefile.orig Sun Oct 1 00:59:42 2000
+++ sys/bsd/Makefile Thu Feb 15 18:28:30 2001
@@ -13,12 +13,15 @@
SYS = bsd
# Canna configurations (ex. for NetBSD)
-#CANNADEF = -DCANNA
-#CANNALIB = -L/usr/pkg/lib -lcanna
-#CANNAINC = -I/usr/pkg/include
+.if ${USE_CANNA} == "YES"
+CANNADEF = -DCANNA
+CANNALIB = -Wl,-R${X11PREFIX}/lib -L${X11PREFIX}/lib -lcanna
+CANNAINC = -I${X11PREFIX}/include
+.else
CANNADEF =
CANNALIB =
CANNAINC =
+.endif
# CDEFS gets defines, and gets passed to lint. CFLAGS gets flags, and doesn't
# get passed to lint.
|