summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1997-04-28 14:49:39 +0000
committerobrien <obrien@FreeBSD.org>1997-04-28 14:49:39 +0000
commit1fbed67394dfafdfe0c7544a036ecc9a3cc7e57a (patch)
tree3a540eff688ae6f2179641f653df88bac45f6550 /devel
parent95b66c29a5e6eb034a71c2ee63d818b3b1316f7d (diff)
downloadFreeBSD-ports-1fbed67394dfafdfe0c7544a036ecc9a3cc7e57a.zip
FreeBSD-ports-1fbed67394dfafdfe0c7544a036ecc9a3cc7e57a.tar.gz
Add libmalloc.h as an alias for ${PREFIX}/include/malloc.h to aleavate
namespace clashes with /usr/include/malloc.h
Diffstat (limited to 'devel')
-rw-r--r--devel/libmalloc/Makefile3
-rw-r--r--devel/libmalloc/pkg-plist1
2 files changed, 3 insertions, 1 deletions
diff --git a/devel/libmalloc/Makefile b/devel/libmalloc/Makefile
index a2ae9a9..9817639 100644
--- a/devel/libmalloc/Makefile
+++ b/devel/libmalloc/Makefile
@@ -3,7 +3,7 @@
# Date created: 11 January 1995
# Whom: jkh
#
-# $Id: Makefile,v 1.8 1997/01/10 10:57:08 asami Exp $
+# $Id: Makefile,v 1.9 1997/04/21 00:06:26 obrien Exp $
#
DISTNAME= malloc-1.18
@@ -13,6 +13,7 @@ MASTER_SITES= ftp://ftp.cs.toronto.edu/pub/moraes/
post-install:
/sbin/ldconfig -m ${PREFIX}/lib
+ @(cd ${PREFIX}/include ; ln -sf malloc.h libmalloc.h)
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/libmalloc
${INSTALL_DATA} ${WRKSRC}/malloc.doc ${PREFIX}/share/doc/libmalloc
diff --git a/devel/libmalloc/pkg-plist b/devel/libmalloc/pkg-plist
index 6b24687..c9abb4f 100644
--- a/devel/libmalloc/pkg-plist
+++ b/devel/libmalloc/pkg-plist
@@ -3,6 +3,7 @@ lib/libmalloc.a
lib/libmalloc_d.a
@exec ranlib %D/%F
include/malloc.h
+include/libmalloc.h
lib/libmalloc_d.so.1.18
@exec /sbin/ldconfig -m %B
share/doc/libmalloc/malloc.doc
OpenPOWER on IntegriCloud