diff options
author | Dane Smith <smitdane@gmail.com> | 2010-08-26 15:44:29 -0400 |
---|---|---|
committer | Dane Smith <smitdane@gmail.com> | 2010-08-26 15:44:29 -0400 |
commit | 494f0e231bdfbda1001126e99319bdad16a45526 (patch) | |
tree | ef55b46d9379897c68c7de60e842aaad2dc2e008 /dev-libs/mpatrol | |
parent | Updated netpipe (diff) | |
parent | Remove mpatrol. Patch was committed to the main tree. (diff) | |
download | smithdanea-494f0e231bdfbda1001126e99319bdad16a45526.tar.gz smithdanea-494f0e231bdfbda1001126e99319bdad16a45526.tar.bz2 smithdanea-494f0e231bdfbda1001126e99319bdad16a45526.zip |
Merge branch 'master' of git+ssh://git.overlays.gentoo.org/user/smithdanea
Diffstat (limited to 'dev-libs/mpatrol')
-rw-r--r-- | dev-libs/mpatrol/ChangeLog | 15 | ||||
-rw-r--r-- | dev-libs/mpatrol/Manifest | 10 | ||||
-rw-r--r-- | dev-libs/mpatrol/files/mpatrol-1.4.8-gcc44-glibc210.patch | 54 | ||||
-rw-r--r-- | dev-libs/mpatrol/files/mpatrol-1.4.8-soname.patch | 29 | ||||
-rw-r--r-- | dev-libs/mpatrol/files/mpatrol-ldflags.diff | 38 | ||||
-rw-r--r-- | dev-libs/mpatrol/files/mpatrol-textrel-fix.patch | 12 | ||||
-rw-r--r-- | dev-libs/mpatrol/metadata.xml | 9 | ||||
-rw-r--r-- | dev-libs/mpatrol/mpatrol-1.4.8-r1.ebuild | 92 | ||||
-rw-r--r-- | dev-libs/mpatrol/mpatrol-1.4.8-r2.ebuild | 108 | ||||
-rw-r--r-- | dev-libs/mpatrol/mpatrol-1.4.8.ebuild | 85 |
10 files changed, 0 insertions, 452 deletions
diff --git a/dev-libs/mpatrol/ChangeLog b/dev-libs/mpatrol/ChangeLog deleted file mode 100644 index e03ae38..0000000 --- a/dev-libs/mpatrol/ChangeLog +++ /dev/null @@ -1,15 +0,0 @@ -# ChangeLog for dev-libs/mpatrol -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - -*mpatrol-1.4.8-r2 (15 Aug 2010) -*mpatrol-1.4.8-r1 (15 Aug 2010) -*mpatrol-1.4.8 (15 Aug 2010) - - 15 Aug 2010; Dane Smith (c1pher) <smithdanea@gmail.com> - +mpatrol-1.4.8.ebuild, +mpatrol-1.4.8-r1.ebuild, +mpatrol-1.4.8-r2.ebuild, - +files/mpatrol-1.4.8-gcc44-glibc210.patch, - +files/mpatrol-1.4.8-soname.patch, +files/mpatrol-textrel-fix.patch, - +metadata.xml: - New ebuild for mpatrol-1.4.8-r2 fixes LDFLAGS wrt bug 332731 - diff --git a/dev-libs/mpatrol/Manifest b/dev-libs/mpatrol/Manifest deleted file mode 100644 index 636e4c6..0000000 --- a/dev-libs/mpatrol/Manifest +++ /dev/null @@ -1,10 +0,0 @@ -AUX mpatrol-1.4.8-gcc44-glibc210.patch 2213 RMD160 394294d0674603dff0136348aa5edb2f135ff781 SHA1 f9d8b7d8ba4aec4c0cc6ce706f76845442e87852 SHA256 ea72642d04a4b07f4c3a3b5605ca3258f1ded8fd4ddcf72e61f7f6dc12bf7c6c -AUX mpatrol-1.4.8-soname.patch 1097 RMD160 d0d767d24c51b8804691b416ac47d59bee8d4c2f SHA1 8878f286ac66f6fd3e757ba9fe627bd34a6c3f3a SHA256 f7e63160f3df250151bb9d8de13e252394a02beb89b9c905a0034907061498b2 -AUX mpatrol-ldflags.diff 1709 RMD160 22be09eaa0259bad6265a1ac52cffd1da88aefc3 SHA1 54a630e9b5e022f48231a66854aa9e237cfe49f1 SHA256 80b044e3b47892205f67b166f5dae8c31900f64932f41ac21d178b3fb64e3eb0 -AUX mpatrol-textrel-fix.patch 529 RMD160 e0ef6ab28b24c2261a88e682d1f59ed0c681a328 SHA1 e6b65eb79fc334cb1f82214ed3c0000890e1e876 SHA256 23566db6fe6e035870db35e7311f42c2a367a50ec1a24b044a465fa7fe81f30b -DIST mpatrol_1.4.8.tar.gz 4413896 RMD160 5caa6a31f1a53578f28ff597e62c010d68320bc0 SHA1 26b3ef60a718f80486f10f74468cb33b5fcf75dd SHA256 2a58512cb355bf46b08e85683a2ad872bdd4cad5f7a40c87117c7f5badd9f232 -EBUILD mpatrol-1.4.8-r1.ebuild 2479 RMD160 6fd21c32f8d6448d982cd9eb28c5c679800e414b SHA1 e434cf48950e9e623596773aaceb9f5dd39d4d78 SHA256 f96deee22a575720d5927f16c7add66829c630cbc979e834b0d51829f2110683 -EBUILD mpatrol-1.4.8-r2.ebuild 2889 RMD160 33db8eca1cc7a4d99b5fcfe97e2643221c080c63 SHA1 1627622b9c0f1ce0d757672b771604ac1e3b59da SHA256 66fa491ad3a0865c38dd8ba70a7a128c9f570752e41668d824590f8c2d1ad9eb -EBUILD mpatrol-1.4.8.ebuild 2252 RMD160 9dc89eb4359f0aa770c941786737a1df1ec33f89 SHA1 bb61b433af5717da2cb1acd883413bad905b76e0 SHA256 e61b5c80b22a6d08a6b24ce38a2f11f75fb5fdcea9d1b2c1122be85a765bcdfa -MISC ChangeLog 543 RMD160 1085bdc32dab36fd9d9039301f2e11f4b61f4177 SHA1 d7963aabc53afb07d1f588b8891f3972e4bbee93 SHA256 2095a77971ba164859e252ac1161f6cb6a921ae5b31d21c1e521a87f53e829f3 -MISC metadata.xml 290 RMD160 b9b86283c09349c8827faef7d3ef5f724a248e77 SHA1 ae1c8e62d75c94ff50b8a5391afb6008460963aa SHA256 380e26e9262298b9cb31e863a9ab641f6fbdc8c50bda2cf2e47fd399f9cb5e85 diff --git a/dev-libs/mpatrol/files/mpatrol-1.4.8-gcc44-glibc210.patch b/dev-libs/mpatrol/files/mpatrol-1.4.8-gcc44-glibc210.patch deleted file mode 100644 index 8fe9315..0000000 --- a/dev-libs/mpatrol/files/mpatrol-1.4.8-gcc44-glibc210.patch +++ /dev/null @@ -1,54 +0,0 @@ -https://bugs.gentoo.org/272505 - ---- mpatrol-orig/src/mptrace.c -+++ mpatrol/src/mptrace.c -@@ -268,27 +268,27 @@ - static XtResource resources[] = - { - {"alloc", XmCColor, XmRPixel, sizeof(Pixel), -- (Cardinal) &alcol, XmRString, (XtPointer) "black"}, -+ (long) &alcol, XmRString, (XtPointer) "black"}, - {"base", "Base", XmRInt, sizeof(void *), -- (Cardinal) &addrbase, XmRImmediate, (XtPointer) NULL}, -+ (long) &addrbase, XmRImmediate, (XtPointer) NULL}, - {"delay", "Delay", XmRInt, sizeof(unsigned long), -- (Cardinal) &delay, XmRImmediate, (XtPointer) 0}, -+ (long) &delay, XmRImmediate, (XtPointer) 0}, - {"free", XmCColor, XmRPixel, sizeof(Pixel), -- (Cardinal) &frcol, XmRString, (XtPointer) "white"}, -+ (long) &frcol, XmRString, (XtPointer) "white"}, - {"height", XmCHeight, XmRShort, sizeof(Dimension), -- (Cardinal) &height, XmRImmediate, (XtPointer) 512}, -+ (long) &height, XmRImmediate, (XtPointer) 512}, - {"internal", XmCColor, XmRPixel, sizeof(Pixel), -- (Cardinal) &incol, XmRString, (XtPointer) "red"}, -+ (long) &incol, XmRString, (XtPointer) "red"}, - {"space", "Space", XmRInt, sizeof(unsigned long), -- (Cardinal) &addrspace, XmRImmediate, (XtPointer) 4}, -+ (long) &addrspace, XmRImmediate, (XtPointer) 4}, - {"unalloc", XmCColor, XmRPixel, sizeof(Pixel), -- (Cardinal) &uncol, XmRString, (XtPointer) "blue"}, -+ (long) &uncol, XmRString, (XtPointer) "blue"}, - {"view-height", XmCHeight, XmRShort, sizeof(Dimension), -- (Cardinal) &vheight, XmRImmediate, (XtPointer) 256}, -+ (long) &vheight, XmRImmediate, (XtPointer) 256}, - {"view-width", XmCWidth, XmRShort, sizeof(Dimension), -- (Cardinal) &vwidth, XmRImmediate, (XtPointer) 256}, -+ (long) &vwidth, XmRImmediate, (XtPointer) 256}, - {"width", XmCWidth, XmRShort, sizeof(Dimension), -- (Cardinal) &width, XmRImmediate, (XtPointer) 512} -+ (long) &width, XmRImmediate, (XtPointer) 512} - }; - - ---- mpatrol-orig/tools/dmalloc.c -+++ mpatrol/tools/dmalloc.c -@@ -395,7 +395,7 @@ - char * - bytestring(char *b, size_t s, char *p, size_t l) - { -- char *t; -+ const char *t; - size_t i, n; - - for (i = n = 0; (i < s) && (i < l); i++) diff --git a/dev-libs/mpatrol/files/mpatrol-1.4.8-soname.patch b/dev-libs/mpatrol/files/mpatrol-1.4.8-soname.patch deleted file mode 100644 index a2f8210..0000000 --- a/dev-libs/mpatrol/files/mpatrol-1.4.8-soname.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- build/unix/Makefile 2007-04-30 09:55:46.000000000 -0700 -+++ build/unix/Makefile 2007-04-30 09:57:32.000000000 -0700 -@@ -124,7 +124,7 @@ - $(AR) cr $@ $(ARCHIVE_MPTOBJS) - - $(SHARED_MPATROL).$(VERSION).$(REVISION): $(SHARED_MPTOBJS) -- $(LD) $(LDFLAGS) -o $@ $(SHARED_MPTOBJS) -+ $(LD) $(LDFLAGS) -o $@ $(SHARED_MPTOBJS) -Wl,--soname=$(SHARED_MPATROL).$(VERSION) - - $(SHARED_MPATROL): $(SHARED_MPATROL).$(VERSION).$(REVISION) - @ ln -f -s $< $@ -@@ -139,7 +139,7 @@ - $(AR) cr $@ $(ARCHTS_MPTOBJS) - - $(SHARTS_MPATROL).$(VERSION).$(REVISION): $(SHARTS_MPTOBJS) -- $(LD) $(LDFLAGS) -o $@ $(SHARTS_MPTOBJS) -+ $(LD) $(LDFLAGS) -o $@ $(SHARTS_MPTOBJS) -Wl,--soname=$(SHARTS_MPATROL).$(VERSION) - - $(SHARTS_MPATROL): $(SHARTS_MPATROL).$(VERSION).$(REVISION) - @ ln -f -s $< $@ -@@ -154,7 +154,7 @@ - $(AR) cr $@ $(ARCHIVE_MPAOBJS) - - $(SHARED_MPALLOC).$(VERSION).$(REVISION): $(SHARED_MPAOBJS) -- $(LD) $(LDFLAGS) -o $@ $(SHARED_MPAOBJS) -+ $(LD) $(LDFLAGS) -o $@ $(SHARED_MPAOBJS) -Wl,--soname=$(SHARED_MPALLOC).$(VERSION) - - $(SHARED_MPALLOC): $(SHARED_MPALLOC).$(VERSION).$(REVISION) - @ ln -f -s $< $@ diff --git a/dev-libs/mpatrol/files/mpatrol-ldflags.diff b/dev-libs/mpatrol/files/mpatrol-ldflags.diff deleted file mode 100644 index 21f5a8c..0000000 --- a/dev-libs/mpatrol/files/mpatrol-ldflags.diff +++ /dev/null @@ -1,38 +0,0 @@ ---- Makefile 2010-08-15 01:18:10.000000000 -0400 -+++ Makefile.ne 2010-08-15 01:18:22.000000000 -0400 -@@ -46,7 +46,8 @@ - OFLAGS = ${OPT_FLAGS} -fno-inline-functions - SFLAGS = -fPIC - TFLAGS = -DMP_THREADS_SUPPORT --LDFLAGS = -shared -+LDFLAGS = -shared $(LDOPTS) -+LDOPTS = - - MPATROL = mpatrol - MPALLOC = mpalloc -@@ -192,20 +193,20 @@ - -@ rm -f machine.s 2>&1 >/dev/null - - mpatrol: mpatrol.o getopt.o version.o -- $(CC) $(CFLAGS) $(OFLAGS) -o $@ mpatrol.o getopt.o version.o -+ $(CC) $(LDOPTS) $(OFLAGS) -o $@ mpatrol.o getopt.o version.o - - mprof: mprof.o graph.o getopt.o list.o tree.o version.o -- $(CC) $(CFLAGS) $(OFLAGS) -o $@ mprof.o graph.o getopt.o list.o tree.o version.o -+ $(CC) $(LDOPTS) $(OFLAGS) -o $@ mprof.o graph.o getopt.o list.o tree.o version.o - - mptrace: mptrace.o getopt.o tree.o slots.o utils.o version.o - ifeq ($(GUISUP),true) -- $(CC) $(CFLAGS) $(OFLAGS) -o $@ mptrace.o getopt.o tree.o slots.o utils.o version.o -L/usr/X11R6/lib -L/usr/X11R5/lib -L/usr/X11/lib -L/usr/X/lib -lXm -lXt -lXp -lXext -lX11 -+ $(CC) $(LDOPTS) $(OFLAGS) -o $@ mptrace.o getopt.o tree.o slots.o utils.o version.o -L/usr/X11R6/lib -L/usr/X11R5/lib -L/usr/X11/lib -L/usr/X/lib -lXm -lXt -lXp -lXext -lX11 - else -- $(CC) $(CFLAGS) $(OFLAGS) -o $@ mptrace.o getopt.o tree.o slots.o utils.o version.o -+ $(CC) $(LDOPTS) $(OFLAGS) -o $@ mptrace.o getopt.o tree.o slots.o utils.o version.o - endif - - mleak: mleak.o getopt.o tree.o version.o -- $(CC) $(CFLAGS) $(OFLAGS) -o $@ mleak.o getopt.o tree.o version.o -+ $(CC) $(LDOPTS) $(OFLAGS) -o $@ mleak.o getopt.o tree.o version.o - - all: $(ARCHIVE_MPATROL) $(SHARED_MPATROL) $(ARCHTS_MPATROL) $(SHARTS_MPATROL) \ - $(ARCHIVE_MPALLOC) $(SHARED_MPALLOC) $(ARCHIVE_MPTOOLS) \ diff --git a/dev-libs/mpatrol/files/mpatrol-textrel-fix.patch b/dev-libs/mpatrol/files/mpatrol-textrel-fix.patch deleted file mode 100644 index ef37e34..0000000 --- a/dev-libs/mpatrol/files/mpatrol-textrel-fix.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -urp mpatrol-old/src/config.h mpatrol/src/config.h ---- mpatrol-old/src/config.h 2002-01-08 21:13:59.000000000 +0100 -+++ mpatrol/src/config.h 2005-12-22 17:14:25.000000000 +0100 -@@ -796,7 +796,7 @@ - - #ifndef MP_INIT_SUPPORT - #if SYSTEM == SYSTEM_DGUX || SYSTEM == SYSTEM_DRSNX || \ -- SYSTEM == SYSTEM_DYNIX || SYSTEM == SYSTEM_LINUX || \ -+ SYSTEM == SYSTEM_DYNIX || \ - SYSTEM == SYSTEM_SOLARIS || SYSTEM == SYSTEM_UNIXWARE - #define MP_INIT_SUPPORT 1 - #elif SYSTEM == SYSTEM_FREEBSD || SYSTEM == SYSTEM_NETBSD || \ diff --git a/dev-libs/mpatrol/metadata.xml b/dev-libs/mpatrol/metadata.xml deleted file mode 100644 index fae7d74..0000000 --- a/dev-libs/mpatrol/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>no-herd</herd> - <maintainer> - <email>maintainer-needed@gentoo.org</email> - <name>Default assignee for orphaned packages</name> - </maintainer> -</pkgmetadata> diff --git a/dev-libs/mpatrol/mpatrol-1.4.8-r1.ebuild b/dev-libs/mpatrol/mpatrol-1.4.8-r1.ebuild deleted file mode 100644 index 50a2b22..0000000 --- a/dev-libs/mpatrol/mpatrol-1.4.8-r1.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpatrol/mpatrol-1.4.8-r1.ebuild,v 1.5 2009/09/23 17:25:21 patrick Exp $ - -IUSE="X" - -DESCRIPTION="A link library for controlling and tracing dynamic memory allocation. Attempts to diagnose run-time errors that are caused by misuse of dynamically allocated memory. Simple integration via a single header." -SRC_URI="http://www.cbmamiga.demon.co.uk/mpatrol/files/${PN}_${PV}.tar.gz" -HOMEPAGE="http://www.cbmamiga.demon.co.uk/mpatrol/" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86 ~sparc" -S="${WORKDIR}/${PN}" - -# To use X, mpatrol requires Motif -DEPEND="!dev-lang/mercury - X? ( x11-libs/openmotif )" - -src_unpack() { - unpack ${A} - cd ${S}/src - sed -i \ - -e 's:#define MP_SYMBOL_LIBS , MP_LIBNAME(bfd), MP_LIBNAME(iberty):#define MP_SYMBOL_LIBS , MP_LIBNAME(bfd):' config.h \ - || die "sed config.h failed" - - cd ${S}/build/unix - sed -i \ - -e 's:^OFLAGS.= -O3:OFLAGS = ${OPT_FLAGS}:' Makefile \ - || die "sed Makefile for CFLAGS failed" - - sed -i \ - -e 's:$(LD) $(LDFLAGS) -o $@ $(SHARED_MPTOBJS):$(LD) $(LDFLAGS) -liberty -o $@ $(SHARED_MPTOBJS):' Makefile \ - || die "sed Makefile for fixing -libiberty failed" - - use X && sed -i \ - -e 's:^GUISUP.= false:GUISUP = true:' Makefile \ - || die "sed Makefile for GUISUP failed" -} - -src_compile() { - cd ${S}/build/unix - OPT_FLAGS="$CFLAGS" emake all || die "emake failed" -} - -# ** -# ** The install is straightforward, but a bit on the odd side. The author -# ** gives a list of things that need to be done, rather than attempt to -# ** make an install target. --nj -# ** -src_install () { - cd ${S}/build/unix - dobin mleak mpatrol mprof mptrace - dolib.so lib*.so.* - dolib.a lib*.a - - # Each lib needs a symlink from the .so level - #for L in lib*.so.*; do - # dosym $L /usr/lib/`echo $L | sed 's:^\([^\.]*\.so\).*:\1:'` - #done - - insinto /usr - cd ${S}/bin - dobin * - - insinto /usr/include/ - cd ${S}/src - doins mpatrol.h mpalloc.h mpdebug.h - - insinto /usr/include/mpatrol - doins ${S}/tools/*.h - - doman ${S}/man/man?/* - - cd ${S} - dodoc AUTHORS ChangeLog NEWS README THANKS VERSION pkg/lsm/*lsm - - cd ${S}/doc - dodoc *.dvi *.ps *.pdf *.txt - doinfo mpatrol.info - dohtml mpatrol.html - - docinto images - dodoc images/*.{eps,pdf} - - insinto /usr/share/doc/${F}/html/images - doins images/*.jpg -} - -pkg_postinst() { - elog " Please review the documentation in /usr/share/doc/$PF" -} diff --git a/dev-libs/mpatrol/mpatrol-1.4.8-r2.ebuild b/dev-libs/mpatrol/mpatrol-1.4.8-r2.ebuild deleted file mode 100644 index 8981e90..0000000 --- a/dev-libs/mpatrol/mpatrol-1.4.8-r2.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpatrol/mpatrol-1.4.8-r2.ebuild,v 1.6 2009/09/23 17:25:21 patrick Exp $ - -inherit eutils flag-o-matic - -IUSE="X" - -DESCRIPTION="A link library for controlling and tracing dynamic memory allocation. Attempts to diagnose run-time errors that are caused by misuse of dynamically allocated memory. Simple integration via a single header." -SRC_URI="http://www.cbmamiga.demon.co.uk/mpatrol/files/${PN}_${PV}.tar.gz" -HOMEPAGE="http://www.cbmamiga.demon.co.uk/mpatrol/" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86 ~sparc" -S="${WORKDIR}/${PN}" - -# To use X, mpatrol requires Motif -DEPEND="!dev-lang/mercury - X? ( x11-libs/openmotif )" - -src_unpack() { - unpack ${A} - - cd ${S} - epatch "${FILESDIR}/${P}-soname.patch" - - #bug 272505 - epatch "${FILESDIR}/${P}-gcc44-glibc210.patch" - - cd ${S}/src - # [Bug 176592] textrel fix for dev-libs/mpatrol - epatch "${FILESDIR}/${PN}-textrel-fix.patch" - - sed -i \ - -e 's:#define MP_SYMBOL_LIBS , MP_LIBNAME(bfd), MP_LIBNAME(iberty):#define MP_SYMBOL_LIBS , MP_LIBNAME(bfd):' config.h \ - || die "sed config.h failed" - - cd ${S}/build/unix - sed -i \ - -e 's:^OFLAGS.= -O3:OFLAGS = ${OPT_FLAGS}:' Makefile \ - || die "sed Makefile for CFLAGS failed" - - sed -i \ - -e 's:$(LD) $(LDFLAGS) -o $@ $(SHARED_MPTOBJS):$(LD) $(LDFLAGS) -liberty -o $@ $(SHARED_MPTOBJS):' Makefile \ - || die "sed Makefile for fixing -libiberty failed" - - epatch "${FILESDIR}"/${PN}-ldflags.diff - - if use X; then - sed -i \ - -e 's:^GUISUP.= false:GUISUP = true:' Makefile \ - || die "sed Makefile for GUISUP failed" - fi -} - -src_compile() { - cd ${S}/build/unix - emake STRIPPROG=true OPT_FLAGS="${CFLAGS} -Wa,--noexecstack" LDOPTS="${LDFLAGS}" all || die "emake failed" -} - -# ** -# ** The install is straightforward, but a bit on the odd side. The author -# ** gives a list of things that need to be done, rather than attempt to -# ** make an install target. --nj -# ** -src_install () { - cd ${S}/build/unix - dobin mleak mpatrol mprof mptrace || die - dolib.so lib*.so.* || die - dolib.a lib*.a || die - - # Each lib needs a symlink from the .so level - #for L in lib*.so.*; do - # dosym $L /usr/lib/`echo $L | sed 's:^\([^\.]*\.so\).*:\1:'` - #done - - insinto /usr - cd ${S}/bin - dobin * || die - - insinto /usr/include/ - cd ${S}/src - doins mpatrol.h mpalloc.h mpdebug.h || die - - insinto /usr/include/mpatrol - doins ${S}/tools/*.h || die - - doman ${S}/man/man?/* || die - - cd ${S} - dodoc AUTHORS ChangeLog NEWS README THANKS VERSION pkg/lsm/*lsm || die - - cd ${S}/doc - dodoc *.dvi *.ps *.pdf *.txt || die - doinfo mpatrol.info || die - dohtml mpatrol.html || die - - docinto images - dodoc images/*.{eps,pdf} || die - - insinto /usr/share/doc/${PF}/html/images - doins images/*.jpg || die -} - -pkg_postinst() { - elog " Please review the documentation in /usr/share/doc/$PF" -} diff --git a/dev-libs/mpatrol/mpatrol-1.4.8.ebuild b/dev-libs/mpatrol/mpatrol-1.4.8.ebuild deleted file mode 100644 index 8dca6ac..0000000 --- a/dev-libs/mpatrol/mpatrol-1.4.8.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/mpatrol/mpatrol-1.4.8.ebuild,v 1.16 2008/11/21 22:44:12 keri Exp $ - -IUSE="X" - -S=${WORKDIR}/${PN} -DESCRIPTION="A link library for controlling and tracing dynamic memory allocation. Attempts to diagnose run-time errors that are caused by misuse of dynamically allocated memory. Simple integration via a single header." -SRC_URI="http://www.cbmamiga.demon.co.uk/mpatrol/files/${PN}_${PV}.tar.gz" -HOMEPAGE="http://www.cbmamiga.demon.co.uk/mpatrol/" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 sparc" - -# To use X, mpatrol requires Motif -DEPEND="!dev-lang/mercury - X? ( x11-libs/openmotif )" - -src_compile() { - cd $S/build/unix - mv Makefile Makefile.orig - sed 's:^OFLAGS.= -O3:OFLAGS = ${OPT_FLAGS}:' < Makefile.orig > Makefile - rm Makefile.orig - - if use X; then - mv Makefile Makefile.orig - sed 's:^GUISUP.= false:GUISUP = true:' < Makefile.orig > Makefile - rm Makefile.orig - - env OPT_FLAGS="$CFLAGS" emake all || die "Failed to complete make (with X)" - echo "Completed with X" - else - env OPT_FLAGS="$CFLAGS" emake all || die "Failed to complete make (without X)" - echo "Completed without X" - fi -} - -# ** -# ** The install is straightforward, but a bit on the odd side. The author -# ** gives a list of things that need to be done, rather than attempt to -# ** make an install target. --nj -# ** -src_install () { - cd $S/build/unix - dobin mleak mpatrol mprof mptrace - dolib.so lib*.so.* - dolib.a lib*.a - - # Each lib needs a symlink from the .so level - for L in lib*.so.*; do - dosym $L /usr/lib/`echo $L | sed 's:^\([^\.]*\.so\).*:\1:'` - done - - insinto / - cd ../../bin - dobin * - - cd ../src - insinto /usr/include/ - doins mpatrol.h mpalloc.h mpdebug.h - - cd ../tools - insinto /usr/include/mpatrol - doins *.h - - cd ../man - doman man?/* - - cd ../doc - dodoc mpatrol.html mpatrol.dvi mpatrol.txt refcard.dvi refcard.tex source.tex - doinfo mpatrol.info - insinto /usr/share/doc/$PF/images - doins images/*.jpg images/*.eps - - cd ../ - dodoc AUTHORS COPYING ChangeLog NEWS README THANKS VERSION pkg/lsm/*lsm -} - -pkg_postinst() { - echo "***" - echo "*** Please review the documentation in /usr/share/doc/$PF" - echo "***" - echo -} |