summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/drscheme/ChangeLog11
-rw-r--r--dev-scheme/drscheme/Manifest44
-rw-r--r--dev-scheme/drscheme/drscheme-350.ebuild97
-rw-r--r--dev-scheme/drscheme/files/digest-drscheme-3503
-rw-r--r--dev-scheme/drscheme/files/drscheme-350-destdir.patch74
-rw-r--r--dev-scheme/drscheme/files/drscheme-350-fPIC.patch69
6 files changed, 278 insertions, 20 deletions
diff --git a/dev-scheme/drscheme/ChangeLog b/dev-scheme/drscheme/ChangeLog
index 7eef5e168ed2..a3f71865dffc 100644
--- a/dev-scheme/drscheme/ChangeLog
+++ b/dev-scheme/drscheme/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-scheme/drscheme
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/ChangeLog,v 1.23 2006/05/18 22:35:03 chutzpah Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/ChangeLog,v 1.24 2006/07/09 20:46:57 chutzpah Exp $
+
+*drscheme-350 (09 Jul 2006)
+
+ 09 Jul 2006; Patrick McLean <chutzpah@gentoo.org>
+ +files/drscheme-350-destdir.patch, +files/drscheme-350-fPIC.patch,
+ +drscheme-350.ebuild:
+ Version bump, adding 350 to tree masked since the ebuild is currently
+ broken. It compiles and installs, but won't run. Will have to look at it
+ again once I get some more time.
18 May 2006; Patrick McLean <chutzpah@gentoo.org> -drscheme-209-r1.ebuild:
Remove version 209 as it hasn't been ported to modular X and 301 is now
diff --git a/dev-scheme/drscheme/Manifest b/dev-scheme/drscheme/Manifest
index 70caeca689c7..4081b137668b 100644
--- a/dev-scheme/drscheme/Manifest
+++ b/dev-scheme/drscheme/Manifest
@@ -1,34 +1,40 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX drscheme-301-fPIC.patch 2802 RMD160 51d04864d5b1127f50ece3a1bb87f14adb1a8fb9 SHA1 48d906483efa841dd2b402ebf7a51098fd51c75d SHA256 e9ddebf2fcd4b1b37209a04d9b4e29799bf70c8cc6732c916be8e323840e9e7a size 2802
+AUX drscheme-301-fPIC.patch 2802 RMD160 51d04864d5b1127f50ece3a1bb87f14adb1a8fb9 SHA1 48d906483efa841dd2b402ebf7a51098fd51c75d SHA256 e9ddebf2fcd4b1b37209a04d9b4e29799bf70c8cc6732c916be8e323840e9e7a
MD5 4ada17dfe65cb9defc23a29d23eb3c2d files/drscheme-301-fPIC.patch 2802
RMD160 51d04864d5b1127f50ece3a1bb87f14adb1a8fb9 files/drscheme-301-fPIC.patch 2802
SHA256 e9ddebf2fcd4b1b37209a04d9b4e29799bf70c8cc6732c916be8e323840e9e7a files/drscheme-301-fPIC.patch 2802
-AUX drscheme-301-no-setfont.patch 511 RMD160 758e16e3d00d4ff12ef0e3c3922557f2f6f224ff SHA1 6db61212f47da27c424dc3691ffbf2bf56e48ff5 SHA256 ceca61ff0366a5456fdbaef0f86fa1088f8c315f15d1ab171541b2356874f329 size 511
+AUX drscheme-301-no-setfont.patch 511 RMD160 758e16e3d00d4ff12ef0e3c3922557f2f6f224ff SHA1 6db61212f47da27c424dc3691ffbf2bf56e48ff5 SHA256 ceca61ff0366a5456fdbaef0f86fa1088f8c315f15d1ab171541b2356874f329
MD5 37afa306dd87b996df9eee6ad0c05760 files/drscheme-301-no-setfont.patch 511
RMD160 758e16e3d00d4ff12ef0e3c3922557f2f6f224ff files/drscheme-301-no-setfont.patch 511
SHA256 ceca61ff0366a5456fdbaef0f86fa1088f8c315f15d1ab171541b2356874f329 files/drscheme-301-no-setfont.patch 511
-DIST plt-301-src-unix.tgz 12706538 RMD160 35a7a927bf24e7c5c331551ad72c32c9b7d4d742 SHA256 c914cd2f4ccf1ca706738ee9e11df75632a71cab2a9d70fb292b4ebad410dd52 size 12706538
-EBUILD drscheme-301-r2.ebuild 2346 RMD160 7266de9376a23ce2f5ae9b11eaf13a973b8cc502 SHA1 381d5c58f78d6d748f75cb0bd3ab0ac1053ad4d3 SHA256 7fe613a456cb25f91a8c2fa1d1b5394023478bba83e500b2558acb75179cf52e size 2346
+AUX drscheme-350-destdir.patch 2187 RMD160 e006490654f6fcd09944446313dea1b7554ca96f SHA1 fa4a58571a31c8982228eb3d8f75d2b1ca3569a5 SHA256 356426263f7e7c0522400964e1352f8e16310aefa83ba2a4eda3e729e608f8d6
+MD5 782c13d6899d959100a6f8d0336d73b9 files/drscheme-350-destdir.patch 2187
+RMD160 e006490654f6fcd09944446313dea1b7554ca96f files/drscheme-350-destdir.patch 2187
+SHA256 356426263f7e7c0522400964e1352f8e16310aefa83ba2a4eda3e729e608f8d6 files/drscheme-350-destdir.patch 2187
+AUX drscheme-350-fPIC.patch 2979 RMD160 9382e8fc9ad56cad49eda737b7bc3ee558db4b4c SHA1 5aa9b10757c70e2fefa6e1568d6ef805bd11a1f1 SHA256 d020ff1cbc173525a68d52da05e8552787f4bb2ce555e88051997bcc865caff1
+MD5 5c798441cb6814dd52eab276c9014884 files/drscheme-350-fPIC.patch 2979
+RMD160 9382e8fc9ad56cad49eda737b7bc3ee558db4b4c files/drscheme-350-fPIC.patch 2979
+SHA256 d020ff1cbc173525a68d52da05e8552787f4bb2ce555e88051997bcc865caff1 files/drscheme-350-fPIC.patch 2979
+DIST plt-301-src-unix.tgz 12706538 RMD160 35a7a927bf24e7c5c331551ad72c32c9b7d4d742 SHA1 fe6824eaa0e45c6145c9130f3ae67a8544d0f8b5 SHA256 c914cd2f4ccf1ca706738ee9e11df75632a71cab2a9d70fb292b4ebad410dd52
+DIST plt-350-src-unix.tgz 13261879 RMD160 ecd298fab7107c08ebdd649c5c5eaa6907e5534e SHA1 2795f81749e3abf0450c487bdb6e9c6cd4478823 SHA256 4aa5d593db53f0e40438567f3fcdc8c5263701c25f2bb87b4579d70d8b026aa6
+EBUILD drscheme-301-r2.ebuild 2346 RMD160 7266de9376a23ce2f5ae9b11eaf13a973b8cc502 SHA1 381d5c58f78d6d748f75cb0bd3ab0ac1053ad4d3 SHA256 7fe613a456cb25f91a8c2fa1d1b5394023478bba83e500b2558acb75179cf52e
MD5 2fa45c157897e563148f1d56dad6a6cf drscheme-301-r2.ebuild 2346
RMD160 7266de9376a23ce2f5ae9b11eaf13a973b8cc502 drscheme-301-r2.ebuild 2346
SHA256 7fe613a456cb25f91a8c2fa1d1b5394023478bba83e500b2558acb75179cf52e drscheme-301-r2.ebuild 2346
-MISC ChangeLog 5193 RMD160 158fe4a26c41bff9a314ea7dd3bce82af94f794a SHA1 7d9e4b1735eb9cfe0c056af94fbfbdfb986e5e52 SHA256 ffd782db8e357b9de107ce233058439780e5ac05b749f225842a83053e683c66 size 5193
-MD5 12e70bad02e51e314e14f2893a1e2b8e ChangeLog 5193
-RMD160 158fe4a26c41bff9a314ea7dd3bce82af94f794a ChangeLog 5193
-SHA256 ffd782db8e357b9de107ce233058439780e5ac05b749f225842a83053e683c66 ChangeLog 5193
-MISC metadata.xml 694 RMD160 ab738064eeb10e5a01c1f2a9040da48b5f68d244 SHA1 32c314fc3597aa38f9724b26f05ae9494d8b3309 SHA256 b63c1d1ae1adc89c062f612f797abf9e0933fc67725d301558f27832bd8c875d size 694
+EBUILD drscheme-350.ebuild 2400 RMD160 e648255e98f4cc9aa3ac4c649430ab464f9b67fe SHA1 8b6f4e4a044e67f1180f5ff6bf7ab0b416fa1981 SHA256 794d8d8fa468953a8f0945ead440aaabb172677038e59574e02df6c10d7355e7
+MD5 52406ad688549606f5e6866f696d60ab drscheme-350.ebuild 2400
+RMD160 e648255e98f4cc9aa3ac4c649430ab464f9b67fe drscheme-350.ebuild 2400
+SHA256 794d8d8fa468953a8f0945ead440aaabb172677038e59574e02df6c10d7355e7 drscheme-350.ebuild 2400
+MISC ChangeLog 5550 RMD160 77b365a7d56e7012c65cf6c6d0f1b810a11fbfb8 SHA1 29be2963145dbba5e80ef6027149f34751c25a6d SHA256 beed6deba02b352fec9c6d9d067b74c58b654970ebb9bbc038fe4c3b247de363
+MD5 6f506de7bd29237dbac4e186610491bf ChangeLog 5550
+RMD160 77b365a7d56e7012c65cf6c6d0f1b810a11fbfb8 ChangeLog 5550
+SHA256 beed6deba02b352fec9c6d9d067b74c58b654970ebb9bbc038fe4c3b247de363 ChangeLog 5550
+MISC metadata.xml 694 RMD160 ab738064eeb10e5a01c1f2a9040da48b5f68d244 SHA1 32c314fc3597aa38f9724b26f05ae9494d8b3309 SHA256 b63c1d1ae1adc89c062f612f797abf9e0933fc67725d301558f27832bd8c875d
MD5 274a7900f799811ad11e1a827bb4b23e metadata.xml 694
RMD160 ab738064eeb10e5a01c1f2a9040da48b5f68d244 metadata.xml 694
SHA256 b63c1d1ae1adc89c062f612f797abf9e0933fc67725d301558f27832bd8c875d metadata.xml 694
MD5 b00dc440a5ec2cd08f98f34f827a25b7 files/digest-drscheme-301-r2 247
RMD160 d308beb49ef1f2b187f28a033f86ed182934d152 files/digest-drscheme-301-r2 247
SHA256 751aa53e4159ea7d464ed7c599b8468066b2ea79d23dba37c5e8da3a1fcde30e files/digest-drscheme-301-r2 247
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.3 (GNU/Linux)
-
-iD8DBQFEgIaPWt/XSf2CZdkRAmRgAJ4oJfAYGEr4XQ1zTkpkgAidVa7wZgCfQjzb
-MYF9kCMAdt4akJ7mYsEyg2Q=
-=QYwQ
------END PGP SIGNATURE-----
+MD5 2544fb0cdc6a0afcf4f31b946e3c1a0f files/digest-drscheme-350 247
+RMD160 8730b27499336d9f46811bbe952956fa671db176 files/digest-drscheme-350 247
+SHA256 3e214654e8b0d7cd76c6a559cd2b9d2dfa025c4e370be4c26205b9064593d45c files/digest-drscheme-350 247
diff --git a/dev-scheme/drscheme/drscheme-350.ebuild b/dev-scheme/drscheme/drscheme-350.ebuild
new file mode 100644
index 000000000000..6184225c6f66
--- /dev/null
+++ b/dev-scheme/drscheme/drscheme-350.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/drscheme-350.ebuild,v 1.1 2006/07/09 20:46:57 chutzpah Exp $
+
+inherit eutils flag-o-matic multilib
+
+DESCRIPTION="DrScheme programming environment. Includes mzscheme."
+HOMEPAGE="http://www.plt-scheme.org/software/drscheme/"
+SRC_URI="http://download.plt-scheme.org/bundles/${PV}/plt/plt-${PV}-src-unix.tgz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="cairo jpeg opengl perl png"
+
+DEPEND="|| ( ( x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libXaw
+ x11-libs/libXft
+ )
+ virtual/x11
+ )
+ media-libs/freetype
+ media-libs/fontconfig
+ cairo? ( x11-libs/cairo )
+ jpeg? ( media-libs/jpeg )
+ opengl? ( virtual/opengl )
+ png? ( media-libs/libpng )"
+
+S=${WORKDIR}/plt/src
+SED_FILES="bin/framework-test bin/framework-test-engine collects/info-domain/compiled/cache.ss"
+GL_COLLECTS="sgl games/gobblet games/checkers games/jewel games/gl-board-game"
+
+src_unpack() {
+ unpack ${A}
+ cd ${WORKDIR}/plt
+
+ epatch "${FILESDIR}/${P}-fPIC.patch"
+ epatch "${FILESDIR}/${P}-destdir.patch"
+
+ if ! use opengl ; then
+ # move aside the opengl-dependent stuff or install will fail
+ mkdir collects-disabled
+
+ for dir in ${GL_COLLECTS}; do
+ mv -f collects/${dir} collects-disabled/$(basename ${dir})
+ done
+ fi
+}
+
+src_compile() {
+
+ econf --enable-mred \
+ $(use_enable opengl gl) \
+ $(use_enable png libpng) \
+ $(use_enable jpeg libjpeg) \
+ $(use_enable perl) \
+ $(use_enable cairo) \
+ --prefix=/usr/$(get_libdir)/${PN}/ || die "econf failed"
+
+ make || die
+}
+
+src_install() {
+ cd ${S}
+
+ sed -ie 's/cp -p/cp/' Makefile
+
+ dodir /usr/$(get_libdir)/drscheme/{include/plt,bin}
+ make DESTDIR="${D}" plain-install || die "make install failed"
+ make setup-plt || die "make install failed"
+
+ dodoc README
+ cd ${D}/usr/$(get_libdir)/${PN}/man/man1
+ doman *
+ rm -rf ${D}/usr/$(get_libdir)/${PN}/man
+
+ # create symlinks for all the executables
+ dodir /usr/bin
+ MY_D="${D%/}"
+ MY_D="${MY_D//\//\/}"
+
+ cd ${D}/usr/$(get_libdir)/${PN}/bin
+ for EXE in *; do
+
+ # fix paths in generated shell scripts
+ file -b "${EXE}" | grep -q "Bourne shell" && \
+ sed -i "s/${MY_D}//g" "${EXE}"
+
+ dosym "/usr/$(get_libdir)/${PN}/bin/${EXE}" "/usr/bin/${EXE}"
+ done
+
+ for FILE in ${SED_FILES}; do
+ sed -i "s/${MY_D}//g" "${D}/usr/$(get_libdir)/${PN}/${FILE}"
+ done
+
+}
diff --git a/dev-scheme/drscheme/files/digest-drscheme-350 b/dev-scheme/drscheme/files/digest-drscheme-350
new file mode 100644
index 000000000000..3c83b661785e
--- /dev/null
+++ b/dev-scheme/drscheme/files/digest-drscheme-350
@@ -0,0 +1,3 @@
+MD5 ab6ca3e14f1b82bd8dfb04518e769dfc plt-350-src-unix.tgz 13261879
+RMD160 ecd298fab7107c08ebdd649c5c5eaa6907e5534e plt-350-src-unix.tgz 13261879
+SHA256 4aa5d593db53f0e40438567f3fcdc8c5263701c25f2bb87b4579d70d8b026aa6 plt-350-src-unix.tgz 13261879
diff --git a/dev-scheme/drscheme/files/drscheme-350-destdir.patch b/dev-scheme/drscheme/files/drscheme-350-destdir.patch
new file mode 100644
index 000000000000..c78a141c3a7e
--- /dev/null
+++ b/dev-scheme/drscheme/files/drscheme-350-destdir.patch
@@ -0,0 +1,74 @@
+diff -ur plt.orig/src/Makefile.in plt/src/Makefile.in
+--- plt.orig/src/Makefile.in 2006-07-09 14:02:49.000000000 -0400
++++ plt/src/Makefile.in 2006-07-09 14:26:12.000000000 -0400
+@@ -2,15 +2,15 @@
+ # Builds MzScheme and MrEd
+
+ srcdir = @srcdir@
+-prefix = @prefix@
++prefix = $(DESTDIR)@prefix@
+ exec_prefix = @exec_prefix@
+ bindir = @bindir@
+-libdir = @libdir@
++libdir = $(DESTDIR)@libdir@
+ includepltdir = @includepltdir@
+-libpltdir = @libpltdir@
+-collectsdir = @collectsdir@
+-mandir = @mandir@
+-docdir = @docdir@
++libpltdir = $(DESTDIR)@libpltdir@
++collectsdir = $(DESTDIR)@collectsdir@
++mandir = $(DESTDIR)@mandir@
++docdir = $(DESTDIR)@docdir@
+ builddir = @builddir@
+
+ ALLDIRINFO = "$(bindir)" "$(collectsdir)" "$(docdir)" "$(libdir)" "$(includepltdir)" "$(libpltdir)" "$(mandir)"
+@@ -38,7 +38,7 @@
+
+ install-normal:
+ mkdir -p $(ALLDIRINFO)
+- if [ ! -d $(prefix) ] ; then mkdir $(prefix) ; fi
++ if [ ! -d $(prefix) ] ; then mkdir -p $(prefix) ; fi
+ $(MAKE) mzinstall
+ $(MAKE) mredinstall-stub
+ $(MAKE) copytree-stub
+diff -ur plt.orig/src/mred/Makefile.in plt/src/mred/Makefile.in
+--- plt.orig/src/mred/Makefile.in 2006-07-09 14:02:49.000000000 -0400
++++ plt/src/mred/Makefile.in 2006-07-09 14:25:56.000000000 -0400
+@@ -1,11 +1,11 @@
+
+ srcdir = @srcdir@
+-prefix = @prefix@
++prefix = $(DESTDIR)@prefix@
+ exec_prefix = @exec_prefix@
+ bindir = @bindir@
+-libdir = @libdir@
+-libpltdir = @libpltdir@
+-collectsdir = @collectsdir@
++libdir = $(DESTDIR)@libdir@
++libpltdir = $(DESTDIR)@libpltdir@
++collectsdir = $(DESTDIR)@collectsdir@
+ builddir = @builddir@
+
+ # for version.mak:
+diff -ur plt.orig/src/mzscheme/Makefile.in plt/src/mzscheme/Makefile.in
+--- plt.orig/src/mzscheme/Makefile.in 2006-07-09 14:02:49.000000000 -0400
++++ plt/src/mzscheme/Makefile.in 2006-07-09 14:25:43.000000000 -0400
+@@ -3,13 +3,13 @@
+ #
+
+ srcdir = @srcdir@
+-prefix = @prefix@
++prefix = $(DESTDIR)@prefix@
+ exec_prefix = @exec_prefix@
+ bindir = @bindir@
+-libdir = @libdir@
++libdir = $(DESTDIR)@libdir@
+ includepltdir = @includepltdir@
+-libpltdir = @libpltdir@
+-collectsdir = @collectsdir@
++libpltdir = $(DESTDIR)@libpltdir@
++collectsdir = $(DESTDIR)@collectsdir@
+ builddir = @builddir@
+
+ # for version.mak:
diff --git a/dev-scheme/drscheme/files/drscheme-350-fPIC.patch b/dev-scheme/drscheme/files/drscheme-350-fPIC.patch
new file mode 100644
index 000000000000..f12555aec740
--- /dev/null
+++ b/dev-scheme/drscheme/files/drscheme-350-fPIC.patch
@@ -0,0 +1,69 @@
+diff -ur plt.orig/collects/make/setup-extension.ss plt/collects/make/setup-extension.ss
+--- plt.orig/collects/make/setup-extension.ss 2006-05-12 17:14:02.000000000 -0400
++++ plt/collects/make/setup-extension.ss 2006-07-09 12:53:34.000000000 -0400
+@@ -191,7 +191,7 @@
+ current-extension-linker-flags
+ (if is-win?
+ null
+- (list (format "-L~a/lib" (path->string sys-path))))
++ (list "-fPIC" (format "-L~a/lib" (path->string sys-path))))
+
+ ;; Add libs for Windows:
+ (with-new-flags
+diff -ur plt.orig/src/foreign/Makefile.in plt/src/foreign/Makefile.in
+--- plt.orig/src/foreign/Makefile.in 2005-06-29 15:28:16.000000000 -0400
++++ plt/src/foreign/Makefile.in 2006-07-09 12:53:34.000000000 -0400
+@@ -3,7 +3,7 @@
+ srcdir = @srcdir@
+ builddir = @builddir@
+ CC = @CC@
+-CFLAGS = @CFLAGS@ @COMPFLAGS@ @PREFLAGS@ @PROFFLAGS@ @OPTIONS@ @MZOPTIONS@ \
++CFLAGS = @CFLAGS@ @COMPFLAGS@ @PREFLAGS@ @PROFFLAGS@ @OPTIONS@ @MZOPTIONS@ -fPIC \
+ -I$(builddir)/../mzscheme \
+ -I$(srcdir)/../mzscheme/include -I$(srcdir)/../mzscheme/src \
+ -Igcc/libffi/include
+diff -ur plt.orig/src/mzscheme/dynsrc/Makefile.in plt/src/mzscheme/dynsrc/Makefile.in
+--- plt.orig/src/mzscheme/dynsrc/Makefile.in 2006-05-24 15:29:58.000000000 -0400
++++ plt/src/mzscheme/dynsrc/Makefile.in 2006-07-09 12:54:47.000000000 -0400
+@@ -18,14 +18,14 @@
+ CFLAGS = @CFLAGS@ @COMPFLAGS@ @PREFLAGS@ -I$(builddir)/.. -I$(srcdir)/../include -I$(srcdir)/../src @MZOPTIONS@
+
+ dynlib:
+- $(MAKE) ../mzdyn.o
++ $(MAKE) CFLAGS="$(CFLAGS) -fPIC" ../mzdyn.o
+ $(MAKE) ../starter
+
+ dynlib3m:
+- $(MAKE) ../mzdyn3m.o
++ $(MAKE) CFLAGS="$(CFLAGS) -fPIC" ../mzdyn3m.o
+
+ dynexample:
+- $(MAKE) ../dynexmpl.so
++ $(MAKE) CFLAGS="$(CFLAGS) -fPIC" ../dynexmpl.so
+
+ HEADERS = $(builddir)/../mzconfig.h \
+ $(srcdir)/../include/scheme.h $(srcdir)/../src/schemef.h \
+diff -ur plt.orig/src/mzscheme/gc/Makefile.in plt/src/mzscheme/gc/Makefile.in
+--- plt.orig/src/mzscheme/gc/Makefile.in 2005-05-27 19:11:11.000000000 -0400
++++ plt/src/mzscheme/gc/Makefile.in 2006-07-09 12:53:34.000000000 -0400
+@@ -10,7 +10,7 @@
+ # and runs some tests of collector and cords. Does not add cords or
+ # c++ interface to gc.a
+ # cord/de - builds dumb editor based on cords.
+-ABI_FLAG=
++ABI_FLAG= -fPIC
+ CC= @CC@ $(ABI_FLAG)
+ CXX= @CXX@ $(ABI_FLAG)
+ AS= @AS@ $(ABI_FLAG)
+diff -ur plt.orig/src/mzscheme/gc2/Makefile.in plt/src/mzscheme/gc2/Makefile.in
+--- plt.orig/src/mzscheme/gc2/Makefile.in 2006-06-11 09:02:10.000000000 -0400
++++ plt/src/mzscheme/gc2/Makefile.in 2006-07-09 12:53:34.000000000 -0400
+@@ -13,7 +13,7 @@
+ ARFLAGS = @ARFLAGS@
+ RANLIB = @RANLIB@
+
+-CPPFLAGS = @PREFLAGS@ @OPTIONS@ @GC2OPTIONS@ @MZOPTIONS@ -I$(builddir)/.. -I$(srcdir)/../include
++CPPFLAGS = @PREFLAGS@ -fPIC @OPTIONS@ @GC2OPTIONS@ @MZOPTIONS@ -I$(builddir)/.. -I$(srcdir)/../include
+ CFLAGS = @CFLAGS@ $(CPPFLAGS) @COMPFLAGS@ @PROFFLAGS@
+ LIBS = @LIBS@
+