blob: 03a426b54acd45dde58ad0b579dc8bd11940836e (
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.5 2002/06/10 12:37:43 sakamoto 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 = ${LDFLAGS} -lcanna
+CANNAINC = ${CPPFLAGS}
+.else
CANNADEF =
CANNALIB =
CANNAINC =
+.endif
# CDEFS gets defines, and gets passed to lint. CFLAGS gets flags, and doesn't
# get passed to lint.
|