aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics/klayout/files')
-rw-r--r--sci-electronics/klayout/files/klayout-0.20.2-Makefile.conf.linux-gentoo42
-rw-r--r--sci-electronics/klayout/files/klayout-0.20.2-configureonly.patch37
2 files changed, 79 insertions, 0 deletions
diff --git a/sci-electronics/klayout/files/klayout-0.20.2-Makefile.conf.linux-gentoo b/sci-electronics/klayout/files/klayout-0.20.2-Makefile.conf.linux-gentoo
new file mode 100644
index 000000000..d1e8baf52
--- /dev/null
+++ b/sci-electronics/klayout/files/klayout-0.20.2-Makefile.conf.linux-gentoo
@@ -0,0 +1,42 @@
+
+# Configuration file for gentoo-linux
+# Compiler options
+
+CCOPT_DEP=-MM -MG -x c++
+
+CCWARN=-Wall -pedantic -Wno-deprecated -Woverloaded-virtual \
+ -Wsign-promo -Wsynth -Wno-long-long -Wno-strict-aliasing
+
+CCOPT=-c -x c++ $(CXXFLAGS) -o
+CCOPT_SO=-fPIC $(CCOPT)
+
+INC=-I$(TOP_SOURCE) -I$(SOURCE) -I. -I$(QTINCLUDE)
+
+DEFS=-DQT_THREAD_SUPPORT -DQT3_SUPPORT
+
+# Linker options
+
+LOPT=-Wl,-E -o
+LOPT_SO=-shared -fPIC -o
+
+LIBS=-L$(QTLIB) -lQtGui -lQtCore -lQtXml -lrt -lstdc++ -lcrypt
+
+LINK=$(CXX)
+
+# The details for the install target (needed since 0.19.2)
+
+.PHONY: install
+install:
+ mkdir -p $(INSTALL_BINDIR)
+ cp main/$(EXEC_NAME) $(INSTALL_BINDIR)
+ for bin in $(OTHER_BIN) ; \
+ do \
+ cp main/$$bin $(INSTALL_BINDIR) ; \
+ done
+ for plugin in $(PLUGINS) ; \
+ do \
+ cp $$plugin/*.so $(INSTALL_BINDIR) ; \
+ done
+ chmod 755 $(INSTALL_BINDIR) $(INSTALL_BINDIR)/*
+
+
diff --git a/sci-electronics/klayout/files/klayout-0.20.2-configureonly.patch b/sci-electronics/klayout/files/klayout-0.20.2-configureonly.patch
new file mode 100644
index 000000000..74c2e7816
--- /dev/null
+++ b/sci-electronics/klayout/files/klayout-0.20.2-configureonly.patch
@@ -0,0 +1,37 @@
+--- klayout-0.18.1/build.sh 2009-08-02 15:17:12.000000000 -0400
++++ klayout-0.18.1/build.sh.new 2009-09-18 16:15:47.000000000 -0400
+@@ -237,34 +237,3 @@
+ echo "Building plugins: $PLUGINS"
+ echo ""
+
+-# -- Running build --
+-
+-echo "Running build .."
+-echo "$MAKE_PRG"
+-cd $BUILD
+-$MAKE_PRG $MAKE_OPT all || exit 1
+-echo ""
+-
+-cd $CURR_DIR
+-
+-# -- Installing binaries --
+-
+-echo "Installing binaries .."
+-cd $BUILD
+-$MAKE_PRG install
+-cd $CURR_DIR
+-echo "Build done."
+-
+-if [ $WIN_CYGWIN = 0 ]; then
+- echo ""
+- echo "Final binary is ready in $BIN/$EXEC_NAME."
+- echo "To run it, you may need to add the following to your LD_LIBRARY_PATH:"
+- echo "$QTLIB"
+-
+- LD_LIBRARY_PATH=$QTLIB:$LD_LIBRARY_PATH
+- $BIN/$EXEC_NAME -v
+- $BIN/$EXEC_NAME -h
+-fi
+-
+-exit 0
+-