diff options
author | thierry <thierry@FreeBSD.org> | 2004-09-02 21:39:33 +0000 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2004-09-02 21:39:33 +0000 |
commit | 2413b54a383c6ce2633446af12f45eb7d9e702de (patch) | |
tree | 731aea48c8bd4cffd5abe4922dcbec892e5f1924 /news/pyne/files | |
parent | 8ef4f87e84fe27e861db375c351d18107b622f0d (diff) | |
download | FreeBSD-ports-2413b54a383c6ce2633446af12f45eb7d9e702de.zip FreeBSD-ports-2413b54a383c6ce2633446af12f45eb7d9e702de.tar.gz |
Unbreak by upgrading to 1.0.1.
Diffstat (limited to 'news/pyne/files')
-rw-r--r-- | news/pyne/files/patch-Makefile.in | 29 | ||||
-rw-r--r-- | news/pyne/files/patch-src::po::Makefile | 46 | ||||
-rw-r--r-- | news/pyne/files/patch-src::po::es_ES.po | 11 |
3 files changed, 86 insertions, 0 deletions
diff --git a/news/pyne/files/patch-Makefile.in b/news/pyne/files/patch-Makefile.in new file mode 100644 index 0000000..20d936a --- /dev/null +++ b/news/pyne/files/patch-Makefile.in @@ -0,0 +1,29 @@ +--- Makefile.in.orig Mon Aug 30 22:23:03 2004 ++++ Makefile.in Thu Sep 2 22:13:41 2004 +@@ -1,6 +1,6 @@ + +-# install pyne here... +-export PREFIX = @prefix@ ++# install pyne here... ++PREFIX = @prefix@ + PYTHON = @PYTHON@ + VERSION = @VERSION@ + +@@ -48,7 +48,7 @@ + cp src/AppRun Pyne/AppRun + chmod +x Pyne/AppRun + cp -rfv src/* Pyne +- ++ + @echo "Compiling modules to bytecode..." + $(PYTHON) -O -c "import compileall ; compileall.compile_dir(\"Pyne/\")" + +@@ -60,7 +60,7 @@ + rm -rfv $(PREFIX)/lib/pyne + + pyne: +- -gcc -Wall -O2 yencdec.c -o yencdec ++ -$(CC) $(CFLAGS) yencdec.c -o yencdec + @echo + @echo "Pyne will install to $(PREFIX). Pass --prefix option to ./configure to change this" + @echo "Type 'make install' when ready." diff --git a/news/pyne/files/patch-src::po::Makefile b/news/pyne/files/patch-src::po::Makefile new file mode 100644 index 0000000..7589b4b --- /dev/null +++ b/news/pyne/files/patch-src::po::Makefile @@ -0,0 +1,46 @@ +--- src/po/Makefile.orig Mon Aug 30 22:23:03 2004 ++++ src/po/Makefile Thu Sep 2 22:42:12 2004 +@@ -1,7 +1,7 @@ + + DATADIR = $(shell gnome-config --datadir) + LOCALEDIR = $(DATADIR)/share/locale +-MAINDIR = ++MAINDIR = + BOXTYPE = boxtypes + BOXFORMATS = boxformats + PTK = ptk +@@ -12,8 +12,8 @@ + all:pot update-po mo + + +- +-POTFILES: ++ ++POTFILES: + + grep -l "_(['|\"]" ../$(MAINDIR)/*.py > POTFILES.in + grep -l "_(['|\"]" ../$(BOXTYPE)/*.py >> POTFILES.in +@@ -23,11 +23,11 @@ + + + # add more directories here, which need to be added in POTFILES.in **** +- ++ + #create pot file + pot: POTFILES + ./pygettext.py -o $(DOMAIN).pot `cat POTFILES.in` +- ++ + + #update all po fles + update-po: +@@ -55,7 +55,8 @@ + install: + for mo in *.mo; do\ + lingua=`basename $$mo .mo`; \ +- install -D --mode=644 $$lingua.mo $(PREFIX)$(LOCALEDIR)/$$lingua/LC_MESSAGES/$(DOMAIN).mo ; \ ++ mkdir -p $(PREFIX)$(LOCALEDIR)/$$lingua/LC_MESSAGES ; \ ++ install -m 644 $$lingua.mo $(PREFIX)$(LOCALEDIR)/$$lingua/LC_MESSAGES/$(DOMAIN).mo ; \ + done + + clean: diff --git a/news/pyne/files/patch-src::po::es_ES.po b/news/pyne/files/patch-src::po::es_ES.po new file mode 100644 index 0000000..1b47188 --- /dev/null +++ b/news/pyne/files/patch-src::po::es_ES.po @@ -0,0 +1,11 @@ +--- ./src/po/es_ES.po.orig Mon Aug 30 22:23:03 2004 ++++ ./src/po/es_ES.po Thu Sep 2 22:31:20 2004 +@@ -11,7 +11,7 @@ + "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" + "Language-Team: LANGUAGE <LL@li.org>\n" + "MIME-Version: 1.0\n" +-"Content-Type: text/plain; charset=CHARSET\n" ++"Content-Type: text/plain; charset=iso-8859-1\n" + "Content-Transfer-Encoding: 8bit\n" + "Generated-By: pygettext.py 1.3\n" + |