summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-04-25 20:19:01 +0000
committerJeroen Roovers <jer@gentoo.org>2012-04-25 20:19:01 +0000
commit6b18f4eec380ac268588b2d8bcf29ff83fcd731f (patch)
tree3945bc58a61bf3772180d67344b2c0c8a318cfa9 /app-editors
parentarm stable, bug #410611 (diff)
downloadgentoo-2-6b18f4eec380ac268588b2d8bcf29ff83fcd731f.tar.gz
gentoo-2-6b18f4eec380ac268588b2d8bcf29ff83fcd731f.tar.bz2
gentoo-2-6b18f4eec380ac268588b2d8bcf29ff83fcd731f.zip
Old.
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/mp/ChangeLog7
-rw-r--r--app-editors/mp/files/mp-5.1.1-asneeded.patch245
-rw-r--r--app-editors/mp/files/mp-5.1.1-prll.patch48
-rw-r--r--app-editors/mp/files/mp-5.1.3-asneeded.patch227
-rw-r--r--app-editors/mp/mp-5.1.1.ebuild77
-rw-r--r--app-editors/mp/mp-5.1.3.ebuild86
6 files changed, 6 insertions, 684 deletions
diff --git a/app-editors/mp/ChangeLog b/app-editors/mp/ChangeLog
index 5fcf055990d6..0d4efa1cd503 100644
--- a/app-editors/mp/ChangeLog
+++ b/app-editors/mp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-editors/mp
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/mp/ChangeLog,v 1.82 2012/04/25 20:12:28 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/mp/ChangeLog,v 1.83 2012/04/25 20:19:01 jer Exp $
+
+ 25 Apr 2012; Jeroen Roovers <jer@gentoo.org> -mp-5.1.1.ebuild,
+ -files/mp-5.1.1-asneeded.patch, -files/mp-5.1.1-prll.patch, -mp-5.1.3.ebuild,
+ -files/mp-5.1.3-asneeded.patch:
+ Old.
*mp-5.2.2 (25 Apr 2012)
diff --git a/app-editors/mp/files/mp-5.1.1-asneeded.patch b/app-editors/mp/files/mp-5.1.1-asneeded.patch
deleted file mode 100644
index 6135ddd0bbbf..000000000000
--- a/app-editors/mp/files/mp-5.1.1-asneeded.patch
+++ /dev/null
@@ -1,245 +0,0 @@
-Index: mp-5.1.1/config.sh
-===================================================================
---- mp-5.1.1.orig/config.sh
-+++ mp-5.1.1/config.sh
-@@ -75,7 +75,7 @@ echo "Configuring..."
-
- echo "/* automatically created by config.sh - do not modify */" > config.h
- echo "# automatically created by config.sh - do not modify" > makefile.opts
--> config.ldflags
-+> config.libs
- > config.cflags
- > .config.log
-
-@@ -129,7 +129,7 @@ done
-
- if [ "$MPDM" != "NOTFOUND" ] ; then
- echo "-I$MPDM" >> config.cflags
-- echo "-L$MPDM -lmpdm" >> config.ldflags
-+ echo "-L$MPDM -lmpdm" >> config.libs
- echo "OK ($MPDM)"
- else
- echo "No"
-@@ -141,7 +141,7 @@ if [ ! -f $MPDM/Makefile ] ; then
- ( echo ; cd $MPDM ; ./config.sh --prefix=$PREFIX --docdir=$PREFIX/share/doc/$APPNAME $CONF_ARGS ; echo )
- fi
-
--cat $MPDM/config.ldflags >> config.ldflags
-+cat $MPDM/config.libs >> config.libs
- echo "MPDM=$MPDM" >> makefile.opts
-
- # MPSL
-@@ -155,7 +155,7 @@ done
-
- if [ "$MPSL" != "NOTFOUND" ] ; then
- echo "-I$MPSL" >> config.cflags
-- echo "-L$MPSL -lmpsl" >> config.ldflags
-+ echo "-L$MPSL -lmpsl" >> config.libs
- echo "OK ($MPSL)"
- else
- echo "No"
-@@ -167,7 +167,7 @@ if [ ! -f $MPSL/Makefile ] ; then
- ( echo ; cd $MPSL ; ./config.sh --prefix=$PREFIX --docdir=$PREFIX/share/doc/$APPNAME $CONF_ARGS ; echo )
- fi
-
--cat $MPSL/config.ldflags >> config.ldflags
-+cat $MPSL/config.libs >> config.libs
- echo "MPSL=$MPSL" >> makefile.opts
-
- # Win32
-@@ -179,7 +179,7 @@ else
- grep CONFOPT_WIN32 ${MPDM}/config.h >/dev/null
-
- if [ $? = 0 ] ; then
-- echo "-mwindows -lcomctl32" >> config.ldflags
-+ echo "-mwindows -lcomctl32" >> config.libs
- echo "#define CONFOPT_WIN32 1" >> config.h
- echo "OK"
- DRIVERS="win32 $DRIVERS"
-@@ -210,7 +210,7 @@ else
- if [ $? = 0 ] ; then
- echo "#define CONFOPT_CURSES 1" >> config.h
- echo $TMP_CFLAGS >> config.cflags
-- echo $TMP_LDFLAGS >> config.ldflags
-+ echo $TMP_LDFLAGS >> config.libs
- echo "OK (ncursesw)"
- DRIVERS="ncursesw $DRIVERS"
- DRV_OBJS="mpv_curses.o $DRV_OBJS"
-@@ -263,7 +263,7 @@ else
- TMP_CFLAGS="$TMP_CFLAGS -I`kde4-config --install include`KDE"
-
- TMP_LDFLAGS=$(pkg-config --libs QtCore)
-- TMP_LDFLAGS="$TMP_LDFLAGS -L`kde4-config --install lib` -lkfile -lkdeui -lkdecore"
-+ TMP_LDFLAGS="$TMP_LDFLAGS -L`kde4-config --install lib` -lkfile -lkdeui -lkdecore -lkio"
-
- echo "#include <KApplication>" > .tmp.cpp
- echo "int main(void) { new KApplication() ; return 0; } " >> .tmp.cpp
-@@ -273,7 +273,7 @@ else
-
- if [ $? = 0 ] ; then
- echo $TMP_CFLAGS >> config.cflags
-- echo $TMP_LDFLAGS >> config.ldflags
-+ echo $TMP_LDFLAGS >> config.libs
-
- echo "#define CONFOPT_KDE4 1" >> config.h
- echo "OK"
-@@ -311,7 +311,7 @@ else
- if [ $? = 0 ] ; then
- echo "#define CONFOPT_GTK 2" >> config.h
- echo "$TMP_CFLAGS " >> config.cflags
-- echo "$TMP_LDFLAGS " >> config.ldflags
-+ echo "$TMP_LDFLAGS " >> config.libs
- echo "OK (2.0)"
- DRIVERS="gtk $DRIVERS"
- DRV_OBJS="mpv_gtk.o $DRV_OBJS"
-Index: mp-5.1.1/makefile.in
-===================================================================
---- mp-5.1.1.orig/makefile.in
-+++ mp-5.1.1/makefile.in
-@@ -35,7 +35,7 @@ dep:
- gcc -MM *.c `cat config.cflags` > makefile.depend
-
- $(APPNAME): $(OBJS) $(MPDM)/libmpdm.a $(MPSL)/libmpsl.a
-- $(CCLINK) $(CFLAGS) $(OBJS) `cat config.ldflags` -o $@
-+ $(CCLINK) $(CFLAGS) $(OBJS) `cat config.ldflags` `cat config.libs` -o $@
-
- mpv_kde4.o: mpv_kde4.cpp mpv_kde4.moc
- $(CPP) $(CFLAGS) -I. `cat config.cflags` -c $<
-@@ -47,7 +47,7 @@ mp_res.o: mp_res.rc
- $(WINDRES) mp_res.rc mp_res.o
-
- wmp.exe: $(OBJS) mp_res.o $(MPDM)/libmpdm.a $(MPSL)/libmpsl.a
-- $(CC) $(CFLAGS) $(OBJS) mp_res.o `cat config.ldflags` -o $@
-+ $(CC) $(CFLAGS) $(OBJS) mp_res.o `cat config.ldflags` `cat config.libs` -o $@
-
- clean:
- rm -f $(APPNAME) $(LIB) $(OBJS) *.o *.moc tags *.tar.gz *.exe *.zip .installer.c *.1
-@@ -55,7 +55,7 @@ clean:
- (cd $(MPSL) ; make clean)
-
- distclean: clean
-- rm -f config.h config.cflags config.ldflags \
-+ rm -f config.h config.cflags config.ldflags config.libs \
- makefile.opts Makefile po/minimum-profit.pot
-
- docsclean:
-Index: mp-5.1.1/mpdm/config.sh
-===================================================================
---- mp-5.1.1.orig/mpdm/config.sh
-+++ mp-5.1.1/mpdm/config.sh
-@@ -70,7 +70,7 @@ echo "Configuring MPDM..."
-
- echo "/* automatically created by config.sh - do not modify */" > config.h
- echo "# automatically created by config.sh - do not modify" > makefile.opts
--> config.ldflags
-+> config.libs
- > config.cflags
- > .config.log
-
-@@ -169,7 +169,7 @@ if [ "$WITH_PCRE" = 1 ] ; then
- echo "OK (using pcre library)"
- echo "#define CONFOPT_PCRE 1" >> config.h
- echo "$TMP_CFLAGS " >> config.cflags
-- echo "$TMP_LDFLAGS " >> config.ldflags
-+ echo "$TMP_LDFLAGS " >> config.libs
- REGEX_YET=1
- fi
- fi
-@@ -316,7 +316,7 @@ else
- if [ $? = 0 ] ; then
- echo "OK (libintl needed)"
- echo "#define CONFOPT_GETTEXT 1" >> config.h
-- echo "$TMP_LDFLAGS" >> config.ldflags
-+ echo "$TMP_LDFLAGS" >> config.libs
- else
- echo "No"
- fi
-@@ -349,7 +349,7 @@ else
- if [ $? = 0 ] ; then
- echo "OK (libiconv needed)"
- echo "#define CONFOPT_ICONV 1" >> config.h
-- echo "$TMP_LDFLAGS" >> config.ldflags
-+ echo "$TMP_LDFLAGS" >> config.libs
- else
- echo "No"
- fi
-Index: mp-5.1.1/mpdm/makefile.in
-===================================================================
---- mp-5.1.1.orig/mpdm/makefile.in
-+++ mp-5.1.1/mpdm/makefile.in
-@@ -32,7 +32,7 @@ $(LIB): $(OBJS)
- $(AR) rv $(LIB) $(OBJS)
-
- stress: stress.c $(LIB)
-- $(CC) $(CFLAGS) `cat config.ldflags` stress.c -L. -lmpdm -o $@
-+ $(CC) $(CFLAGS) `cat config.ldflags` `cat config.libs` stress.c -L. -lmpdm -o $@
-
- .SUFFIXES: .txt .html
-
-@@ -54,7 +54,7 @@ clean:
- rm -f $(TARGET) $(LIB) $(OBJS) *.o tags *.tar.gz stress
-
- distclean: clean
-- rm -f config.h config.cflags config.ldflags makefile.opts .config.log Makefile
-+ rm -f config.h config.cflags config.ldflags config.libs makefile.opts .config.log Makefile
-
- realclean: distclean docsclean
-
-Index: mp-5.1.1/mpsl/config.sh
-===================================================================
---- mp-5.1.1.orig/mpsl/config.sh
-+++ mp-5.1.1/mpsl/config.sh
-@@ -69,7 +69,7 @@ echo "Configuring MPSL..."
-
- echo "/* automatically created by config.sh - do not modify */" > config.h
- echo "# automatically created by config.sh - do not modify" > makefile.opts
--> config.ldflags
-+> config.libs
- > config.cflags
- > .config.log
-
-@@ -131,7 +131,7 @@ done
-
- if [ "$MPDM" != "NOTFOUND" ] ; then
- echo "-I$MPDM" >> config.cflags
-- echo "-L$MPDM -lmpdm" >> config.ldflags
-+ echo "-L$MPDM -lmpdm" >> config.libs
- echo "OK ($MPDM)"
- else
- echo "No"
-@@ -143,7 +143,7 @@ if [ ! -f $MPDM/Makefile ] ; then
- ( echo ; cd $MPDM ; ./config.sh $CONF_ARGS ; echo )
- fi
-
--cat $MPDM/config.ldflags >> config.ldflags
-+cat $MPDM/config.libs >> config.libs
-
- # if win32, the interpreter is called mpsl.exe
- grep CONFOPT_WIN32 ${MPDM}/config.h >/dev/null && TARGET=mpsl.exe
-Index: mp-5.1.1/mpsl/makefile.in
-===================================================================
---- mp-5.1.1.orig/mpsl/makefile.in
-+++ mp-5.1.1/mpsl/makefile.in
-@@ -49,11 +49,11 @@ $(LIB): $(OBJS)
- $(AR) rv $(LIB) $(OBJS)
-
- $(TARGET): $(LIB) $(MPDM)/libmpdm.a
-- $(CC) $(CFLAGS) -L. -lmpsl `cat config.ldflags` -o $@
-+ $(CC) $(CFLAGS) -L. -lmpsl `cat config.ldflags` `cat config.libs` -o $@
-
- stress: stress.c $(LIB) $(MPDM)/libmpdm.a
- $(CC) $(CFLAGS) `cat config.cflags` stress.c \
-- -L. -lmpsl `cat config.ldflags` -o $@
-+ -L. -lmpsl `cat config.ldflags` `cat config.libs` -o $@
-
- clean:
- rm -f $(TARGET) $(LIB) $(OBJS) *.o tags *.tar.gz stress
-@@ -62,7 +62,7 @@ realclean: clean
- rm -f y.tab.c y.tab.h lex.yy.c
-
- distclean: clean y.tab.c y.tab.h lex.yy.c
-- rm -f config.h config.cflags config.ldflags makefile.opts .config.log Makefile
-+ rm -f config.h config.cflags config.ldflags config.libs makefile.opts .config.log Makefile
-
- realclean: distclean docsclean
-
diff --git a/app-editors/mp/files/mp-5.1.1-prll.patch b/app-editors/mp/files/mp-5.1.1-prll.patch
deleted file mode 100644
index 0aac81332fe3..000000000000
--- a/app-editors/mp/files/mp-5.1.1-prll.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-diff --git a/makefile.in b/makefile.in
-index b1cef14..f8d2bca 100644
---- a/makefile.in
-+++ b/makefile.in
-@@ -4,7 +4,7 @@ all: $(APPNAME) docs build-mo
-
- PROJ=mp
-
--ADD_DOCS=AUTHORS README COPYING RELEASE_NOTES \
-+ADD_DOCS=AUTHORS README RELEASE_NOTES \
- mp_templates.sample doc/mp_function_reference.html
- GRUTATXT_DOCS=doc/mp_index.html doc/mp_cookbook.html doc/mp_internals.html \
- doc/mp_configuration.html doc/mp_data_model.html \
-@@ -26,10 +26,10 @@ version:
- $(CC) $(CFLAGS) -I. `cat config.cflags` -c $<
-
- $(MPDM)/libmpdm.a:
-- ( cd $(MPDM); $(MAKE) )
-+ $(MAKE) -C $(MPDM)
-
- $(MPSL)/libmpsl.a:
-- ( cd $(MPSL); $(MAKE) )
-+ $(MAKE) -C $(MPSL)
-
- dep:
- gcc -MM *.c `cat config.cflags` > makefile.depend
-@@ -88,8 +88,8 @@ $(APPNAME).1: doc/mp_man.txt
- grutatxt -m man -t "Minimum Profit" < doc/mp_man.txt > $(APPNAME).1
-
- docs: $(DOCS)
-- (cd $(MPDM); $(MAKE) docs)
-- (cd $(MPSL); $(MAKE) docs)
-+ $(MAKE) -C $(MPDM) docs
-+ $(MAKE) -C $(MPSL) docs
-
- distcopy: distclean docs
- mkdir -p $(DIST_TARGET) ; \
-@@ -134,8 +134,8 @@ install: $(INSTALL_MSG) installdoc install-mo
-
- installdoc:
- ./mkinstalldirs $(PREFIX)/share/doc/$(APPNAME)
-- ( cd $(MPDM); $(MAKE) installdoc )
-- ( cd $(MPSL); $(MAKE) installdoc )
-+ $(MAKE) -C $(MPDM) installdoc
-+ $(MAKE) -C $(MPSL) installdoc
- install -m 644 doc/* $(PREFIX)/share/doc/$(APPNAME)
- install -m 644 $(ADD_DOCS) $(PREFIX)/share/doc/$(APPNAME)
- [ -f doc/mp_index.html ] && install -m 644 doc/mp_index.html $(PREFIX)/share/doc/$(APPNAME)/index.html || true
diff --git a/app-editors/mp/files/mp-5.1.3-asneeded.patch b/app-editors/mp/files/mp-5.1.3-asneeded.patch
deleted file mode 100644
index 7f60c2719023..000000000000
--- a/app-editors/mp/files/mp-5.1.3-asneeded.patch
+++ /dev/null
@@ -1,227 +0,0 @@
-diff --git a/config.sh b/config.sh
-index 17ade83..643b07e 100755
---- a/config.sh
-+++ b/config.sh
-@@ -80,7 +80,7 @@ echo "Configuring..."
-
- echo "/* automatically created by config.sh - do not modify */" > config.h
- echo "# automatically created by config.sh - do not modify" > makefile.opts
--> config.ldflags
-+> config.libs
- > config.cflags
- > .config.log
-
-@@ -134,7 +134,7 @@ done
-
- if [ "$MPDM" != "NOTFOUND" ] ; then
- echo "-I$MPDM" >> config.cflags
-- echo "-L$MPDM -lmpdm" >> config.ldflags
-+ echo "-L$MPDM -lmpdm" >> config.libs
- echo "OK ($MPDM)"
- else
- echo "No"
-@@ -146,7 +146,7 @@ if [ ! -f $MPDM/Makefile ] ; then
- ( echo ; cd $MPDM ; ./config.sh --prefix=$PREFIX --docdir=$PREFIX/share/doc/$APPNAME $CONF_ARGS ; echo )
- fi
-
--cat $MPDM/config.ldflags >> config.ldflags
-+cat $MPDM/config.libs >> config.libs
- echo "MPDM=$MPDM" >> makefile.opts
-
- # MPSL
-@@ -160,7 +160,7 @@ done
-
- if [ "$MPSL" != "NOTFOUND" ] ; then
- echo "-I$MPSL" >> config.cflags
-- echo "-L$MPSL -lmpsl" >> config.ldflags
-+ echo "-L$MPSL -lmpsl" >> config.libs
- echo "OK ($MPSL)"
- else
- echo "No"
-@@ -172,7 +172,7 @@ if [ ! -f $MPSL/Makefile ] ; then
- ( echo ; cd $MPSL ; ./config.sh --prefix=$PREFIX --docdir=$PREFIX/share/doc/$APPNAME $CONF_ARGS ; echo )
- fi
-
--cat $MPSL/config.ldflags >> config.ldflags
-+cat $MPSL/config.libs >> config.libs
- echo "MPSL=$MPSL" >> makefile.opts
-
- # Win32
-@@ -184,7 +184,7 @@ else
- grep CONFOPT_WIN32 ${MPDM}/config.h >/dev/null
-
- if [ $? = 0 ] ; then
-- echo "-mwindows -lcomctl32" >> config.ldflags
-+ echo "-mwindows -lcomctl32" >> config.libs
- echo "#define CONFOPT_WIN32 1" >> config.h
- echo "OK"
- DRIVERS="win32 $DRIVERS"
-@@ -279,7 +279,7 @@ else
-
- if [ $? = 0 ] ; then
- echo $TMP_CFLAGS >> config.cflags
-- echo $TMP_LDFLAGS >> config.ldflags
-+ echo $TMP_LDFLAGS >> config.libs
-
- echo "#define CONFOPT_KDE4 1" >> config.h
- echo "OK"
-@@ -357,7 +357,7 @@ else
- if [ $? = 0 ] ; then
- echo "#define CONFOPT_GTK 2" >> config.h
- echo "$TMP_CFLAGS " >> config.cflags
-- echo "$TMP_LDFLAGS " >> config.ldflags
-+ echo "$TMP_LDFLAGS " >> config.libs
- echo "OK (2.0)"
- DRIVERS="gtk $DRIVERS"
- DRV_OBJS="mpv_gtk.o $DRV_OBJS"
-diff --git a/makefile.in b/makefile.in
-index 704eb57..5714f62 100644
---- a/makefile.in
-+++ b/makefile.in
-@@ -36,7 +36,7 @@ dep:
- gcc -MM *.c `cat config.cflags` > makefile.depend
-
- $(APPNAME): $(OBJS) $(MPDM)/libmpdm.a $(MPSL)/libmpsl.a
-- $(CCLINK) $(CFLAGS) $(OBJS) `cat config.ldflags` -o $@
-+ $(CCLINK) $(CFLAGS) $(OBJS) `cat config.ldflags` `cat config.libs` -o $@
-
- mpv_kde4.o: mpv_kde4.cpp mpv_kde4.moc
- $(CPP) $(CFLAGS) -I. `cat config.cflags` -c $<
-@@ -54,7 +54,7 @@ mp_res.o: mp_res.rc
- $(WINDRES) mp_res.rc mp_res.o
-
- mp-5.exe: $(OBJS) mp_res.o $(MPDM)/libmpdm.a $(MPSL)/libmpsl.a
-- $(CC) $(CFLAGS) $(OBJS) mp_res.o `cat config.ldflags` -o $@
-+ $(CC) $(CFLAGS) $(OBJS) mp_res.o `cat config.ldflags` `cat config.libs` -o $@
-
- clean:
- rm -f $(APPNAME) $(LIB) $(OBJS) *.o *.moc tags *.tar.gz *.exe *.zip .installer.c *.1
-@@ -62,7 +62,7 @@ clean:
- (cd $(MPSL) ; make clean)
-
- distclean: clean
-- rm -f config.h config.cflags config.ldflags \
-+ rm -f config.h config.cflags config.ldflags config.libs \
- makefile.opts Makefile po/minimum-profit.pot
-
- docsclean:
-diff --git a/mpdm/config.sh b/mpdm/config.sh
-index 9e4f2f8..16033d3 100755
---- a/mpdm/config.sh
-+++ b/mpdm/config.sh
-@@ -70,7 +70,7 @@ echo "Configuring MPDM..."
-
- echo "/* automatically created by config.sh - do not modify */" > config.h
- echo "# automatically created by config.sh - do not modify" > makefile.opts
--> config.ldflags
-+> config.libs
- > config.cflags
- > .config.log
-
-@@ -169,7 +169,7 @@ if [ "$WITH_PCRE" = 1 ] ; then
- echo "OK (using pcre library)"
- echo "#define CONFOPT_PCRE 1" >> config.h
- echo "$TMP_CFLAGS " >> config.cflags
-- echo "$TMP_LDFLAGS " >> config.ldflags
-+ echo "$TMP_LDFLAGS " >> config.libs
- REGEX_YET=1
- fi
- fi
-@@ -316,7 +316,7 @@ else
- if [ $? = 0 ] ; then
- echo "OK (libintl needed)"
- echo "#define CONFOPT_GETTEXT 1" >> config.h
-- echo "$TMP_LDFLAGS" >> config.ldflags
-+ echo "$TMP_LDFLAGS" >> config.libs
- else
- echo "No"
- fi
-@@ -349,7 +349,7 @@ else
- if [ $? = 0 ] ; then
- echo "OK (libiconv needed)"
- echo "#define CONFOPT_ICONV 1" >> config.h
-- echo "$TMP_LDFLAGS" >> config.ldflags
-+ echo "$TMP_LDFLAGS" >> config.libs
- else
- echo "No"
- fi
-diff --git a/mpdm/makefile.in b/mpdm/makefile.in
-index 17ee1a0..10c102d 100644
---- a/mpdm/makefile.in
-+++ b/mpdm/makefile.in
-@@ -32,7 +32,7 @@ $(LIB): $(OBJS)
- $(AR) rv $(LIB) $(OBJS)
-
- stress: stress.c $(LIB)
-- $(CC) $(CFLAGS) `cat config.ldflags` stress.c -L. -lmpdm -o $@
-+ $(CC) $(CFLAGS) `cat config.ldflags` `cat config.libs` stress.c -L. -lmpdm -o $@
-
- .SUFFIXES: .txt .html
-
-@@ -54,7 +54,7 @@ clean:
- rm -f $(TARGET) $(LIB) $(OBJS) *.o tags *.tar.gz stress
-
- distclean: clean
-- rm -f config.h config.cflags config.ldflags makefile.opts .config.log Makefile
-+ rm -f config.h config.cflags config.ldflags config.libs makefile.opts .config.log Makefile
-
- realclean: distclean docsclean
-
-diff --git a/mpsl/config.sh b/mpsl/config.sh
-index d325412..4f36b06 100755
---- a/mpsl/config.sh
-+++ b/mpsl/config.sh
-@@ -69,7 +69,7 @@ echo "Configuring MPSL..."
-
- echo "/* automatically created by config.sh - do not modify */" > config.h
- echo "# automatically created by config.sh - do not modify" > makefile.opts
--> config.ldflags
-+> config.libs
- > config.cflags
- > .config.log
-
-@@ -131,7 +131,7 @@ done
-
- if [ "$MPDM" != "NOTFOUND" ] ; then
- echo "-I$MPDM" >> config.cflags
-- echo "-L$MPDM -lmpdm" >> config.ldflags
-+ echo "-L$MPDM -lmpdm" >> config.libs
- echo "OK ($MPDM)"
- else
- echo "No"
-@@ -143,7 +143,7 @@ if [ ! -f $MPDM/Makefile ] ; then
- ( echo ; cd $MPDM ; ./config.sh $CONF_ARGS ; echo )
- fi
-
--cat $MPDM/config.ldflags >> config.ldflags
-+cat $MPDM/config.libs >> config.libs
-
- # if win32, the interpreter is called mpsl.exe
- grep CONFOPT_WIN32 ${MPDM}/config.h >/dev/null && TARGET=mpsl.exe
-diff --git a/mpsl/makefile.in b/mpsl/makefile.in
-index 14ed62d..253e278 100644
---- a/mpsl/makefile.in
-+++ b/mpsl/makefile.in
-@@ -49,11 +49,11 @@ $(LIB): $(OBJS)
- $(AR) rv $(LIB) $(OBJS)
-
- $(TARGET): $(LIB) $(MPDM)/libmpdm.a
-- $(CC) $(CFLAGS) -L. -lmpsl `cat config.ldflags` -o $@
-+ $(CC) $(CFLAGS) -L. -lmpsl `cat config.ldflags` `cat config.libs` -o $@
-
- stress: stress.c $(LIB) $(MPDM)/libmpdm.a
- $(CC) $(CFLAGS) `cat config.cflags` stress.c \
-- -L. -lmpsl `cat config.ldflags` -o $@
-+ -L. -lmpsl `cat config.ldflags` `cat config.libs` -o $@
-
- clean:
- rm -f $(TARGET) $(LIB) $(OBJS) *.o tags *.tar.gz stress
-@@ -62,7 +62,7 @@ realclean: clean
- rm -f y.tab.c y.tab.h lex.yy.c
-
- distclean: clean y.tab.c y.tab.h lex.yy.c
-- rm -f config.h config.cflags config.ldflags makefile.opts .config.log Makefile
-+ rm -f config.h config.cflags config.ldflags config.libs makefile.opts .config.log Makefile
-
- realclean: distclean docsclean
-
diff --git a/app-editors/mp/mp-5.1.1.ebuild b/app-editors/mp/mp-5.1.1.ebuild
deleted file mode 100644
index 2b79d0339716..000000000000
--- a/app-editors/mp/mp-5.1.1.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/mp/mp-5.1.1.ebuild,v 1.9 2011/03/27 10:20:03 nirbheek Exp $
-
-EAPI="3"
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Minimum Profit: A text editor for programmers"
-HOMEPAGE="http://www.triptico.com/software/mp.html"
-SRC_URI="http://www.triptico.com/download/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-interix ~ppc-macos ~sparc-solaris ~x86-solaris"
-IUSE="gtk ncurses nls pcre iconv"
-
-RDEPEND="
- ncurses? ( sys-libs/ncurses )
- gtk? ( x11-libs/gtk+:2 >=x11-libs/pango-1.8.0 )
- !gtk? ( sys-libs/ncurses )
- nls? ( sys-devel/gettext )
- pcre? ( dev-libs/libpcre )
- iconv? ( virtual/libiconv )
- app-text/grutatxt"
-DEPEND="${RDEPEND}
- app-text/grutatxt
- dev-util/pkgconfig
- dev-lang/perl"
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${P}-asneeded.patch \
- "${FILESDIR}"/${P}-prll.patch
-}
-
-src_configure() {
- local myconf="--prefix=${EPREFIX}/usr --without-win32"
-
- if use gtk; then
- ! use ncurses && myconf="${myconf} --without-curses"
- else
- myconf="${myconf} --without-gtk2"
- fi
-
- use nls || myconfig="${myconf} --without-gettext"
-
- myconf="${myconf} $(use_with pcre)"
- use pcre || myconf="${myconf} --with-included-regex"
-
- use iconv || myconf="${myconf} --without-iconv"
-
- for i in "${S}" "${S}"/mpsl "${S}"/mpdm;do
- echo ${CFLAGS} >> $i/config.cflags
- echo ${LDFLAGS} >> $i/config.ldflags
- done
-
- tc-export CC
- sh config.sh ${myconf} || die "Configure failed"
-}
-
-src_install() {
- dodir /usr/bin
- sh config.sh --prefix="${EPREFIX}/usr"
- emake DESTDIR="${D}" install || die "Install Failed"
- use gtk && dosym mp-5 /usr/bin/gmp
-}
-
-pkg_postinst() {
- if use gtk ; then
- einfo
- einfo "mp-5 is symlinked to gmp! Use"
- einfo "$ DISPLAY=\"\" mp-5"
- einfo "to use text mode!"
- einfo
- fi
-}
diff --git a/app-editors/mp/mp-5.1.3.ebuild b/app-editors/mp/mp-5.1.3.ebuild
deleted file mode 100644
index bc6fc4aa58ac..000000000000
--- a/app-editors/mp/mp-5.1.3.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/mp/mp-5.1.3.ebuild,v 1.5 2011/03/27 10:20:03 nirbheek Exp $
-
-EAPI="3"
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Minimum Profit: A text editor for programmers"
-HOMEPAGE="http://www.triptico.com/software/mp.html"
-SRC_URI="http://www.triptico.com/download/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-interix ~ppc-macos ~sparc-solaris ~x86-solaris"
-IUSE="gtk iconv kde ncurses nls pcre qt4"
-
-RDEPEND="
- ncurses? ( sys-libs/ncurses )
- gtk? ( x11-libs/gtk+:2 >=x11-libs/pango-1.8.0 )
- !gtk? ( sys-libs/ncurses )
- nls? ( sys-devel/gettext )
- pcre? ( dev-libs/libpcre )
- iconv? ( virtual/libiconv )
- app-text/grutatxt"
-DEPEND="${RDEPEND}
- app-text/grutatxt
- dev-util/pkgconfig
- dev-lang/perl"
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${P}-asneeded.patch \
- "${FILESDIR}"/${PN}-5.1.1-prll.patch
-}
-
-src_configure() {
- local myconf="--prefix=${EPREFIX}/usr --without-win32"
-
- if use gtk; then
- ! use ncurses && myconf="${myconf} --without-curses"
- else
- myconf="${myconf} --without-gtk2"
- fi
-
- use iconv || myconf="${myconf} --without-iconv"
-
- use kde || myconf="${myconf} --without-kde4"
-
- use nls || myconfig="${myconf} --without-gettext"
-
- myconf="${myconf} $(use_with pcre)"
- use pcre || myconf="${myconf} --with-included-regex"
-
- use qt4 || myconf="${myconf} --without-qt4"
-
- for i in "${S}" "${S}"/mpsl "${S}"/mpdm;do
- echo ${CFLAGS} >> $i/config.cflags
- echo ${LDFLAGS} >> $i/config.ldflags
- done
-
- tc-export CC
- sh config.sh ${myconf} || die "Configure failed"
-}
-
-src_compile() {
- # bug #326987
- emake -j1 || die "emake failed"
-}
-
-src_install() {
- dodir /usr/bin
- sh config.sh --prefix="${EPREFIX}/usr"
- emake -j1 DESTDIR="${D}" install || die "Install Failed"
-# use gtk && dosym mp-5 /usr/bin/gmp
-}
-
-pkg_postinst() {
- if use gtk ; then
- einfo
- einfo "mp-5 is symlinked to gmp! Use"
- einfo "$ DISPLAY=\"\" mp-5"
- einfo "to use text mode!"
- einfo
- fi
-}