summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-03-26 19:25:09 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-03-26 19:25:09 +0000
commita171132c50628e8d0815149fdad86e1b8b659d34 (patch)
treeeea8fcf18044c970e1e206a68f0400b8970316ef /games-puzzle/enigma/files
parentRemove virtual/x11 from this deprecated eclass. (diff)
downloadgentoo-2-a171132c50628e8d0815149fdad86e1b8b659d34.tar.gz
gentoo-2-a171132c50628e8d0815149fdad86e1b8b659d34.tar.bz2
gentoo-2-a171132c50628e8d0815149fdad86e1b8b659d34.zip
Use external enet
(Portage version: 2.1.2.2)
Diffstat (limited to 'games-puzzle/enigma/files')
-rw-r--r--games-puzzle/enigma/files/digest-enigma-1.00-r23
-rw-r--r--games-puzzle/enigma/files/enigma-1.00-autotools.patch109
2 files changed, 112 insertions, 0 deletions
diff --git a/games-puzzle/enigma/files/digest-enigma-1.00-r2 b/games-puzzle/enigma/files/digest-enigma-1.00-r2
new file mode 100644
index 000000000000..7577edefaf11
--- /dev/null
+++ b/games-puzzle/enigma/files/digest-enigma-1.00-r2
@@ -0,0 +1,3 @@
+MD5 428a9cce666cd45812e785f00a483ef9 enigma-1.00.tar.gz 10466968
+RMD160 a2ddd9600cddaf6b52c02af1c5631c8c4cd69045 enigma-1.00.tar.gz 10466968
+SHA256 c44f36ef28c8bed1f5d5090edbe4cedda6f37472e729eed3406a350365ca32be enigma-1.00.tar.gz 10466968
diff --git a/games-puzzle/enigma/files/enigma-1.00-autotools.patch b/games-puzzle/enigma/files/enigma-1.00-autotools.patch
new file mode 100644
index 000000000000..68116e1c0fbf
--- /dev/null
+++ b/games-puzzle/enigma/files/enigma-1.00-autotools.patch
@@ -0,0 +1,109 @@
+--- configure.ac
++++ configure.ac
+@@ -260,7 +260,6 @@
+ CXXFLAGS="$CXXFLAGS -O2 -ffast-math -fomit-frame-pointer"
+ AC_MSG_RESULT(yes)
+ else
+- CXXFLAGS="$CXXFLAGS -g"
+ AC_MSG_RESULT(no)
+ fi
+
+@@ -321,7 +320,6 @@
+ dnl Configure libraries
+ dnl ----------------------------------------------------------
+ AC_CONFIG_SUBDIRS(lib-src/zipios++)
+-AC_CONFIG_SUBDIRS(lib-src/enet)
+
+ AC_CONFIG_FILES([Makefile m4/Makefile intl/Makefile
+ data/Makefile
+--- etc/Makefile.am
++++ etc/Makefile.am
+@@ -1,14 +1,14 @@
+ # if !MINGW32
+ # Comply with xdg icon theme specification
+-icondir = $(prefix)/share/icons/hicolor/48x48/apps
++icondir = /usr/share/icons/hicolor/48x48/apps
+ icon_DATA = enigma.png
+
+ # Backwards-compatible global search location for images
+-pixmapdir = $(prefix)/share/pixmaps
++pixmapdir = /usr/share/pixmaps
+ pixmap_DATA = enigma.png
+
+ # Install .desktop file in xdg standard location
+-desktopdir = $(prefix)/share/applications
++desktopdir = /usr/share/applications
+ desktop_DATA = enigma.desktop
+ # endif !MINGW32
+
+--- lib-src/Makefile.am
++++ lib-src/Makefile.am
+@@ -1 +1 @@
+-SUBDIRS = oxydlib lua zipios++ enet enigma-core
++SUBDIRS = oxydlib lua zipios++ enigma-core
+--- Makefile.am
++++ Makefile.am
+@@ -3,11 +3,9 @@
+ # tools -> lib-src/lua
+ # src -> tools, lib-src
+ #
+-SUBDIRS = m4 lib-src tools intl src data doc po etc
++SUBDIRS = m4 lib-src tools intl src data po etc
+ EXTRA_DIST = enigma CHANGES ACKNOWLEDGEMENTS
+
+-docdir = @datadir@/doc/enigma
+-doc_DATA = README CHANGES COPYING ACKNOWLEDGEMENTS
+
+ ACLOCAL_AMFLAGS = -I m4
+
+--- po/Makefile.in.in
++++ po/Makefile.in.in
+@@ -24,12 +24,12 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ datadir = @datadir@
+-localedir = $(datadir)/locale
++localedir = /usr/share/locale
+ gettextsrcdir = $(datadir)/gettext/po
+
+ INSTALL = @INSTALL@
+ INSTALL_DATA = @INSTALL_DATA@
+-MKINSTALLDIRS = @MKINSTALLDIRS@
++MKINSTALLDIRS = $(top_srcdir)/mkinstalldirs
+ #install_sh@ -d
+ mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
+
+--- src/Makefile.am
++++ src/Makefile.am
+@@ -12,12 +12,11 @@
+
+ CXXFLAGS = @CXXFLAGS@\
+ -DSYSTEM_DATA_DIR=\"$(datadir)/enigma\" \
+- -DLOCALEDIR=\"$(localedir)\" \
++ -DLOCALEDIR=\"/usr/share/locale\" \
+ -I$(top_srcdir)/lib-src/zipios++ \
+ -I$(top_builddir)/lib-src/zipios++ \
+ -I$(top_srcdir)/lib-src/lua \
+ -I$(top_srcdir)/lib-src/enigma-core \
+- -I$(top_srcdir)/lib-src/enet/include \
+ -I$(top_srcdir)/lib-src \
+ -I$(top_builddir)/intl @SDL_CFLAGS@
+
+@@ -193,7 +192,7 @@
+
+ else # not MINGW32
+
+- localedir = $(datadir)/locale
++ localedir = /usr/share/locale
+ mingw_ldadd =
+
+ endif
+@@ -202,7 +201,7 @@
+ @LIBINTL@ \
+ $(top_builddir)/lib-src/enigma-core/libecl.a \
+ $(top_builddir)/lib-src/lua/liblua.a \
+- $(top_builddir)/lib-src/enet/libenet.a \
++ -lenet \
+ $(top_builddir)/lib-src/oxydlib/liboxyd.a \
+ $(top_builddir)/lib-src/zipios++/src/libzipios.a \
+ -lz \