Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] PERFORCE change 77587 by Andra?? "ruskie" Levstik for review

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Perforce Review Daemon <p4review AT smee.org>
  • To: "Andrew Stitt" <a AT t.armory.com>, "Arjan Bouter" <abouter AT sourcemage.org>, "SM-Commit Daemon" <sm-commit AT lists.ibiblio.org>, "David Kowis" <dkowis+smgl-p4 AT shlrm.org>, "duane_malcolm" <d.malcolm AT auckland.ac.nz>, "Eric Sandall" <eric AT sandall.us>, "George J. Sherwood" <george AT beernabeer.com>, "Jason Flatt" <jflatt AT sourcemage.org>, "Ladislav Hagara" <ladislav.hagara AT unob.cz>, "Maurizio Boriani" <baux AT member.fsf.org>, "Pieter Lenaerts" <e-type AT sourcemage.org>, "Pol Vinogradov" <vin.public AT gmail.com>, "Robin Cook" <rcook AT wyrms.net>, "Seth Woolley" <seth AT swoolley.homeip.net>, "vladimir_marek" <vlmarek AT volny.cz>
  • Subject: [SM-Commit] PERFORCE change 77587 by Andra?? "ruskie" Levstik for review
  • Date: Tue, 11 Apr 2006 10:10:03 +0100 (BST)

Change 77587 by andraž_levstik AT omega.mages.ath.cx on 2006/04/11 10:06:03

And to games and z-rejected

Affected files ...

... //sgl/grimoires/games/ChangeLog#46 integrate
... //sgl/grimoires/games/FUNCTIONS#19 integrate
... //sgl/grimoires/z-rejected/ChangeLog#32 integrate
... //sgl/grimoires/z-rejected/FUNCTIONS#8 integrate

Differences ...

==== //sgl/grimoires/games/ChangeLog#46 (text) ====

@@ -1,3 +1,7 @@
+2006-04-11 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx>
+ * FUNCTIONS: added a new function: disable_pic()
+ should be used when needing to get rid of -fPIC and -DPIC flags
+
2006-04-10 Arwed v. Merkatz <v.merkatz AT gmx.net>
* games-puzzles/gplanarity: new spell

@@ -44,7 +48,7 @@

2006-02-28 Mathieu Lonjaret <lejatorn@sourcemagecom>
* games-arcade-3d: added new spells xshipwars-client and
- xshipwars-server
+ xshipwars-server

2006-02-25 George Sherwood <george AT beernabeer.com>
* games-simulation/simgear: Moved to games-libs

==== //sgl/grimoires/games/FUNCTIONS#19 (xtext) ====

@@ -202,3 +202,20 @@
unpack_hash ${!SVAR} ${!AVAR}
}

+
+#---
+## disable_pic
+## A function to smartly disable -DPIC and -fPIC flags
+## has one optional parameter: force which forces disable
+#---
+
+disable_pic() {
+if [[ "$SMGL_COMPAT_ARCHS[1]" != "x86_64" ]] ||
+ [[ "$1" == "force ]]
+then
+CFLAGS=${CFLAGS/-fPIC} &&
+CFLAGS=${CFLAGS/-DPIC} &&
+CXXFLAGS=${CXXFLAGS/-fPIC} &&
+CXXFLAGS=${CXXFLAGS/-DPIC}
+fi
+}

==== //sgl/grimoires/z-rejected/ChangeLog#32 (text) ====

@@ -1,3 +1,7 @@
+2006-04-11 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx>
+ * FUNCTIONS: added a new function: disable_pic()
+ should be used when needing to get rid of -fPIC and -DPIC flags
+
2006-04-03 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx>
* z-games/snes9x: moved to z-games

@@ -13,7 +17,7 @@

2006-02-24 Arwed v. Merkatz <v.merkatz AT gmx.net>
* z-audio/gst-monkeysaudio: moved from normal grimoire due to
licensing
- issues
+ issues

2006-02-24 Eric Sandall <eric AT sandall.us>
* z-games/true-combat-elite: Added Wolfenstein: Enemy Territory mod
@@ -28,9 +32,9 @@
2005-12-02 Arwed v. Merkatz <v.merkatz AT gmx.net>
* z-video/quicktime-codecs, z-video/real-codecs, z-video/win32codecs,
z-video/xanim-codecs:
- moved from devel
+ moved from devel
* REJECTED_MSG: get variable values for REJECT and WEB_SITE from
DETAILS so
- it works in PREPARE
+ it works in PREPARE

2005-11-28 Ladislav Hagara <hgr AT vabo.cz>
* z-crypto/truecrypt: new spell
@@ -217,7 +221,7 @@

2004-04-12 Eric Sandall <eric AT sandall.us>
*
z-java/jaf,jms,jmx,jdmk,jndi,java_xml_pack,javamail,jdbc-optional,jta:
- Moved from java due to licensing
+ Moved from java due to licensing

2004-01-29 Eric Sandall <eric AT sandall.us>
* Moved z-video/xvid to devel grimoire video-libs/xvid

==== //sgl/grimoires/z-rejected/FUNCTIONS#8 (xtext) ====

@@ -395,7 +395,6 @@
python setup.py install ${INSTALL_ROOT:+--root "$INSTALL_ROOT/"}
}

-
#-------------------------------------------------------------------------
## Compatibility code for gracefully failing if the user uses an older
## version of sorcery with a spell that calls unpack_file.
@@ -426,3 +425,21 @@
ARCHITECTURE[j++]=${SMGL_COMPAT_ARCHS[i]}
done
fi
+
+
+#---
+## disable_pic
+## A function to smartly disable -DPIC and -fPIC flags
+## has one optional parameter: force which forces disable
+#---
+
+disable_pic() {
+if [[ "$SMGL_COMPAT_ARCHS[1]" != "x86_64" ]] ||
+ [[ "$1" == "force ]]
+then
+CFLAGS=${CFLAGS/-fPIC} &&
+CFLAGS=${CFLAGS/-DPIC} &&
+CXXFLAGS=${CXXFLAGS/-fPIC} &&
+CXXFLAGS=${CXXFLAGS/-DPIC}
+fi
+}



  • [SM-Commit] PERFORCE change 77587 by Andra?? "ruskie" Levstik for review, Perforce Review Daemon, 04/11/2006

Archive powered by MHonArc 2.6.24.

Top of Page