summaryrefslogtreecommitdiff
path: root/lang/clisp/patches/patch-aa
blob: 3b7058620a7222118b95b66f4335b8b74c567d0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-aa,v 1.15 2007/06/09 06:10:31 obache Exp $

--- src/makemake.in.orig	2006-10-01 17:54:24.000000000 +0000
+++ src/makemake.in
@@ -841,10 +841,10 @@ else
 fi
 if [ $HOS = unix ] ; then
   test -n "$mandir" ||
-    mandir='${datadir}/man' # with autoconf-2.60: mandir='@mandir@' # usually '${datadir}/man'
+    mandir='${prefix}/man' # with autoconf-2.60: mandir='@mandir@' # usually '${datadir}/man'
   MANDIR=`echo "$mandir" | sed -e "$brace_to_paren"`
 else
-  mandir="\$(datadir)${NEXT_}man"
+  mandir="\$(prefix)${NEXT_}man"
   MANDIR="$mandir"
 fi
 if [ $HOS = unix ] ; then
@@ -1361,7 +1361,7 @@ if [ "${with_dynamic_modules}" != no ]; 
     freebsd2* | netbsd* | openbsd*)
       XCC_CREATESHARED='ld -Bshareable -o $lib $libs'
       ;;
-    freebsd3* | gnu* | linux* | cygwin* | k*bsd*)
+    freebsd3* | gnu* | linux* | cygwin* | k*bsd* | dragonfly*)
       XCC_CREATESHARED='$CC $CFLAGS $CLFLAGS -shared -o $lib $libs'
       ;;
     hpux9* | hpux10*)