summaryrefslogtreecommitdiff
path: root/textproc/dict-server/patches/patch-ak
blob: 2a197c956edf09d83a28bbdaea08944684fd078c (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-ak,v 1.2 2005/02/22 16:10:03 adam Exp $

--- libmaa/configure.orig	2004-12-23 19:23:25.000000000 +0000
+++ libmaa/configure
@@ -1320,6 +1320,8 @@ echo Configuring for libmaa $MAA_MAJOR.$
 echo .
 
 
+LIBS=`echo $LIBS | sed -e 's|-lmaa||'`
+
 # Check whether --with-cc or --without-cc was given.
 if test "${with_cc+set}" = set; then
   withval="$with_cc"
@@ -2523,9 +2525,7 @@ esac
 if test "${with_cflags+set}" = set; then
   withval="$with_cflags"
 
-if test "x${withval}" = xyes; then
     CFLAGS="$withval"
-fi
 
 fi;