[GRASS-SVN] r57474 - grass/trunk/macosx
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Aug 20 07:27:53 PDT 2013
Author: kyngchaos
Date: 2013-08-20 07:27:53 -0700 (Tue, 20 Aug 2013)
New Revision: 57474
Modified:
grass/trunk/macosx/Makefile
Log:
strip out isysroot flags so extensions will compile at runtime
Modified: grass/trunk/macosx/Makefile
===================================================================
--- grass/trunk/macosx/Makefile 2013-08-20 09:37:05 UTC (rev 57473)
+++ grass/trunk/macosx/Makefile 2013-08-20 14:27:53 UTC (rev 57474)
@@ -104,6 +104,7 @@
${GISBASE}/demolocation/.grassrc$(GRASS_VERSION_MAJOR)$(GRASS_VERSION_MINOR) > ${INST_DIR_TARGET}/demolocation/.grassrc$(GRASS_VERSION_MAJOR)$(GRASS_VERSION_MINOR)
sed -e 's#^\(GRASS_HOME.[^=]*\).*#\1= $(INST_DIR)#g' \
-e 's#$(GISBASE)#$(INST_DIR)#g' \
+ -e "s#-isysroot /.*MacOSX.*\.sdk##g" \
${GISBASE}/include/Make/Platform.make > ${INST_DIR_TARGET}/include/Make/Platform.make
sed -e 's#^\(ARCH_DISTDIR.[^=]*\).*#\1= $(INST_DIR)#g' \
-e 's#^\(ARCH_BINDIR.[^=]*\).*#\1= $(UNIX_BIN)#g' \
More information about the grass-commit
mailing list