patches/metakit-01-sunpro.diff
author jurikm
Sun, 12 Feb 2012 14:04:10 +0000
changeset 8245 383896da4129
parent 510 074eac59d86d
permissions -rw-r--r--
SFEsauerbraten.spec: add IPS package name
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
510
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     1
diff -ru metakit-2.4.9.7.orig/unix/Makefile.in metakit-2.4.9.7/unix/Makefile.in
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     2
--- metakit-2.4.9.7.orig/unix/Makefile.in	2007年  6月 15日 五 20:23:25
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     3
+++ metakit-2.4.9.7/unix/Makefile.in	2007年  9月 24日 一 13:45:37
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     4
@@ -16,7 +16,7 @@
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     5
 
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     6
 DEMOS   = demo dump myio
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     7
 
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     8
-LINK_SPECIAL_FLAGS	=	@LINK_SPECIAL_FLAGS@ @LIBS@
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
     9
+LINK_SPECIAL_FLAGS	=	@LINK_SPECIAL_FLAGS@ @LDFLAGS@ @LIBS@
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    10
 LINK_SPECIAL_FILES	=	@LINK_SPECIAL_FILES@
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    11
 
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    12
 #---------- Autoconf settings, can be overriden as "make" args
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    13
diff -ru metakit-2.4.9.7.orig/unix/configure.in metakit-2.4.9.7/unix/configure.in
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    14
--- metakit-2.4.9.7.orig/unix/configure.in	2007年  6月 15日 五 19:26:40
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    15
+++ metakit-2.4.9.7/unix/configure.in	2007年  9月 24日 一 13:59:11
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    16
@@ -115,9 +115,9 @@
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    17
 fi
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    18
 
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    19
 if test $SHARED_BUILD = 1; then
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    20
-  SHLIB_FLAGS="-shared"
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    21
-  SHLIB_CFLAGS="-fPIC -DUSE_TCL_STUBS"
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    22
-  SHLIB_LD="g++ -shared"
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    23
+  SHLIB_FLAGS="-G"
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    24
+  SHLIB_CFLAGS="-KPIC -DUSE_TCL_STUBS"
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    25
+  SHLIB_LD="CC -G"
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    26
 else
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    27
   SHLIB_FLAGS=""
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    28
   SHLIB_CFLAGS=""
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    29
@@ -235,7 +235,7 @@
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    30
 	fi
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    31
     fi
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    32
     ;;
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    33
-  SunOS-*)
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    34
+  SunOS*)
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    35
     # Tested for solaris-2.8.
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    36
 
074eac59d86d 2007-09-24 Albert Lee <[email protected]>
trisk
parents:
diff changeset
    37
     if test "x`basename $CXX`" = "xCC"