diff options
Diffstat (limited to 'devel/ptmalloc2')
-rw-r--r-- | devel/ptmalloc2/Makefile | 36 | ||||
-rw-r--r-- | devel/ptmalloc2/distinfo | 3 | ||||
-rw-r--r-- | devel/ptmalloc2/files/patch-Makefile | 57 | ||||
-rw-r--r-- | devel/ptmalloc2/pkg-descr | 46 | ||||
-rw-r--r-- | devel/ptmalloc2/pkg-plist | 5 |
5 files changed, 0 insertions, 147 deletions
diff --git a/devel/ptmalloc2/Makefile b/devel/ptmalloc2/Makefile deleted file mode 100644 index ceffd5881b73..000000000000 --- a/devel/ptmalloc2/Makefile +++ /dev/null @@ -1,36 +0,0 @@ -# Ports Collection Makefile for: ptmalloc -# Date created: 10 December 2004 -# Who: Greg 'groggy' Lehey <grog@FreeBSD.org> -# Whom: is grammatically incorrect in this context. -# -# $FreeBSD$ - -PORTNAME= ptmalloc -PORTVERSION= 1.0 -PORTREVISION= 1 -CATEGORIES= devel -MASTER_SITES= http://www.malloc.de/malloc/ -DISTNAME= ptmalloc - -MAINTAINER= grog@FreeBSD.org -COMMENT= Alternative malloc, performs better with threaded applications - -INCDIR= include/${PORTNAME} - -PLIST_SUB= INCDIR=${INCDIR} - -do-install: all - ${MKDIR} ${PREFIX}/${INCDIR} - ${INSTALL_DATA} ${WRKSRC}/ptmalloc.h ${PREFIX}/${INCDIR}/malloc.h - ${INSTALL_PROGRAM} ${WRKSRC}/ptmalloc.so ${PREFIX}/lib/libptmalloc.so.1 - ${INSTALL_PROGRAM} ${WRKSRC}/ptmalloc.so ${PREFIX}/lib/libptmalloc.so - ${INSTALL_PROGRAM} ${WRKSRC}/libptmalloc.a ${PREFIX}/lib/libptmalloc.a - -post-install: - @${ECHO_CMD} - @${ECHO_CMD} Not much documentation is available. - @${ECHO_CMD} Read ${WRKSRC:S|^${WRKDIRPREFIX}${.CURDIR}/||}/README for what there is. - @${ECHO_CMD} See also pkg_descr - @${ECHO_CMD} - -.include <bsd.port.mk> diff --git a/devel/ptmalloc2/distinfo b/devel/ptmalloc2/distinfo deleted file mode 100644 index c0e4754271fd..000000000000 --- a/devel/ptmalloc2/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (ptmalloc.tar.gz) = 10b3fce4711eeada16726fd5e218309b -SHA256 (ptmalloc.tar.gz) = 806761559619e37ee78477682dd4b38b861c173c4a7167c753ac6d1799a1af3d -SIZE (ptmalloc.tar.gz) = 55961 diff --git a/devel/ptmalloc2/files/patch-Makefile b/devel/ptmalloc2/files/patch-Makefile deleted file mode 100644 index 0db580441b50..000000000000 --- a/devel/ptmalloc2/files/patch-Makefile +++ /dev/null @@ -1,57 +0,0 @@ ---- Makefile.orig Mon Dec 20 21:58:38 1999 -+++ Makefile Tue Dec 14 13:22:01 2004 -@@ -10,7 +10,7 @@ - - OPT_FLAGS = -O #-g - WARN_FLAGS = # -Wall --SH_FLAGS = -shared -+SH_FLAGS = -shared -fpic - - # Flags for the test programs - T_FLAGS = -DUSE_MALLOC=1 -DMALLOC_HOOKS -DTEST=1 -@@ -27,6 +27,9 @@ - THR_FLAGS = -DUSE_PTHREADS=1 -DUSE_TSD_DATA_HACK -D_REENTRANT - THR_LIBS = -lpthread - -+# Target libraries -+LIBS= libptmalloc.a ptmalloc.so -+ - RM = rm -f - - # Don't need it for the Linux C library 6, see `glibc' target below. -@@ -40,7 +43,9 @@ - .c.o: - $(CC) -c $(CFLAGS) $< - --all: $(TESTS) -+all: ${LIBS} -+ -+tests: $(TESTS) - - shared: ptmalloc.so - -@@ -48,14 +53,14 @@ - $(CC) -c $(CFLAGS) $(M_FLAGS) $< - - ptmalloc.so: ptmalloc.c ptmalloc.h thread-m.h -- $(CC) $(SH_FLAGS) $(CFLAGS) $(M_FLAGS) $< -o $@ -+ $(CC) $(SH_FLAGS) $(CFLAGS) $(M_FLAGS) ptmalloc.c -o $@ - - again: - $(RM) $(TESTS) - $(MAKE) $(TESTS) - - clean: -- $(RM) ptmalloc.o ptmalloc.so $(TESTS) core -+ $(RM) ptmalloc.o ptmalloc.so $(TESTS) core lib* - - t-test1$(T_SUF): t-test1.c t-test.h thread-m.h $(MALLOC) - $(CC) $(CFLAGS) $(T_FLAGS) t-test1.c $(MALLOC) $(THR_LIBS) -o $@ -@@ -129,3 +134,7 @@ - dist: - cd ..; tar cf - $(DIST_FILES2:%=ptmalloc/%) | \ - gzip -9 >ptmalloc.tar.gz -+ -+libptmalloc.a: ptmalloc.o -+ ar qcvf $@ ptmalloc.o -+ ranlib $@ diff --git a/devel/ptmalloc2/pkg-descr b/devel/ptmalloc2/pkg-descr deleted file mode 100644 index 51dd3c1c9a98..000000000000 --- a/devel/ptmalloc2/pkg-descr +++ /dev/null @@ -1,46 +0,0 @@ -ptmalloc is the original version of the malloc that was later included -in GNU libc. Under some circumsntaces, notably with pthreads and -excessive calls to realloc, it performs significantly better than -FreeBSD malloc. This version is *not* GPL or LGPL: - - Copyright (c) 1999 Wolfram Gloger - - Permission to use, copy, modify, distribute, and sell this software - and its documentation for any purpose is hereby granted without fee, - provided that (i) the above copyright notices and this permission - notice appear in all copies of the software and related - documentation, and (ii) the name of Wolfram Gloger may not be used - in any advertising or publicity relating to the software. - - THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, - EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY - WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. - - IN NO EVENT SHALL WOLFRAM GLOGER BE LIABLE FOR ANY SPECIAL, - INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY - DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, - WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY - THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - PERFORMANCE OF THIS SOFTWARE. - -This is not the latest version: it's older than the one in GNU libc. -There is a newer version, but it's still marked as "current snapshot". -It's in /usr/ports/devel/ptmalloc-2/. - -See the web site for more details: WWW: http://www.malloc.de/en/ - -This package comes with no documentation beyond a README, which isn't -worth installing. It appears that the GNU libc man page malloc(3) -applies, but it's not included here for copyright reasons. There's -nothing unusual about it. In particular, the section TUNING in -FreeBSD malloc(3) does not apply. - -This library uses the POSIX pthread_atfork() function which was not -committed to -CURRENT until 10 December 2004. See PR bin/68841 for -further details. To build it on older versions, first install this -patch, which should be transparent. - -In addition to the library, the package contains a couple of test -cases. Theoretically they could be run using the FreeBSD libraries, -but they call the legacy memalign() function, which is not provided by -FreeBSD. It may be of interest to fix this issue. diff --git a/devel/ptmalloc2/pkg-plist b/devel/ptmalloc2/pkg-plist deleted file mode 100644 index bf930b1eeb59..000000000000 --- a/devel/ptmalloc2/pkg-plist +++ /dev/null @@ -1,5 +0,0 @@ -%%INCDIR%%/malloc.h -lib/libptmalloc.a -lib/libptmalloc.so -lib/libptmalloc.so.1 -@dirrm %%INCDIR%% |