blob: fcd5f57485cd75373cf13e390a2cc47fc18143ea (
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
27
28
29
30
31
32
33
34
35
36
37
38
|
$NetBSD: patch-ag,v 1.6 2014/04/19 15:00:09 joerg Exp $
--- plug-ins/icc_examin/icc_examin/configure.orig 2007-05-10 15:48:30.000000000 +0000
+++ plug-ins/icc_examin/icc_examin/configure
@@ -207,9 +207,9 @@ else
echo "SunOS detected"
OSUNAME=SunOS
else
- if [ $UNAME_ = "OpenBSD" ] || [ $UNAME_ = "NetBSD" ] || [ $UNAME_ = "FreeBSD" ]; then
+ if [ $UNAME_ = "OpenBSD" ] || [ $UNAME_ = "NetBSD" ] || [ $UNAME_ = "FreeBSD" ] || [ $UNAME_ = "DragonFly" ]; then
echo "BSD = 1" >> $CONF
- OS_EXT=.bsd
+# OS_EXT=.bsd
echo "#define BSD 1" >> $CONF_H
echo "BSD $UNAME_ detected"
OSUNAME=BSD
@@ -532,7 +532,7 @@ else
echo "INSTALL = install $DEBUG_SWITCH" >> $CONF
else
echo "COPY = cp -p" >> $CONF
- echo "INCL=-I\$(includedir) -I/usr/X11R6/include -I. -I/usr/include/g++ -I/usr/include" >> $CONF
+ echo "INCL=-I\$(includedir) -I/usr/X11R6/include -I." >> $CONF
if [ $OSUNAME = "BSD" ]; then
LDFLAGS="$LDFLAGS \$(iconv)"
INSTALL="install $DEBUG_SWITCH"
@@ -542,10 +542,10 @@ else
test -n "$ECHO" && $ECHO "INSTALL = install $DEBUG_SWITCH" >> $CONF
fi
if [ $OSUNAME = "SunOS" ]; then
- LDFLAGS="$LDFLAGS -mimpure-text \$(dl) -lrt \$(iconv)"
+ LDFLAGS="$LDFLAGS \$(dl) -lrt \$(iconv)"
INSTALL="install"
else
- LDFLAGS="$LDFLAGS -mimpure-text \$(dl) \$(iconv)"
+ LDFLAGS="$LDFLAGS \$(dl) \$(iconv)"
INSTALL="install"
echo "LINK_FLAGS = -shared \$(dl) \$(iconv)" >> $CONF
echo "INSTALL = install" >> $CONF
|