aboutsummaryrefslogtreecommitdiff
path: root/devel/libxalloc
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-11-11 12:13:00 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-11-11 12:13:00 +0000
commit97e3db93fea6bb469ab6cd30cfa82608cd58cc37 (patch)
tree42076ae99e481aa23775e585553e96629edf220d /devel/libxalloc
parent45cd97ddaad6d62eb97d9638424e3959914179dc (diff)
downloadports-97e3db93fea6bb469ab6cd30cfa82608cd58cc37.tar.gz
ports-97e3db93fea6bb469ab6cd30cfa82608cd58cc37.zip
Notes
Diffstat (limited to 'devel/libxalloc')
-rw-r--r--devel/libxalloc/files/patch-aa58
-rw-r--r--devel/libxalloc/pkg-descr2
2 files changed, 44 insertions, 16 deletions
diff --git a/devel/libxalloc/files/patch-aa b/devel/libxalloc/files/patch-aa
index ef7bfb08ce84..e22654250c5f 100644
--- a/devel/libxalloc/files/patch-aa
+++ b/devel/libxalloc/files/patch-aa
@@ -1,6 +1,6 @@
---- Makefile.orig Sun Jul 5 12:15:59 1998
-+++ Makefile Fri Apr 2 15:26:22 1999
-@@ -8,10 +8,10 @@
+--- Makefile.orig Mon Jul 6 02:15:59 1998
++++ Makefile Tue Jul 4 21:40:59 2000
+@@ -8,7 +8,7 @@
###########################################################################
# Define SHARED as 1 for Linux shared ELF library
@@ -8,28 +8,54 @@
+SHARED = 1
ifeq ($(SHARED),1)
--LIBTARGET = lib$(DIST).so.$(VERSION)
-+LIBTARGET = lib$(DIST).so.$(VERMAJ)
- LIBTARGETSO = lib$(DIST).so
- LIBTARGETSOMAJ = $(LIBTARGETSO).$(VERMAJ)
- CCSHRD = -fPIC
-@@ -27,7 +27,7 @@
- INSTBASEDIR = /usr/local
+ LIBTARGET = lib$(DIST).so.$(VERSION)
+@@ -24,21 +24,21 @@
+
+ ###########################################################################
+
+-INSTBASEDIR = /usr/local
++INSTBASEDIR = ${PREFIX}
INSTLIBDIR = $(INSTBASEDIR)/lib
INSTINCDIR = $(INSTBASEDIR)/include
-INSTALL = install -m 644
-+INSTALL = install -c -m 644
- MKDIRP = install -d -m 755
+-MKDIRP = install -d -m 755
++INSTALL = ${BSD_INSTALL_DATA}
++MKDIRP = install -d -m 755
###########################################################################
-@@ -66,9 +66,7 @@
- $(INSTALL) $(LIBTARGET) $(INSTLIBDIR)
+
+-CC = gcc
++#CC = gcc
+ OPTIM = -O2
+
+ LIBDIR = -L.
+ INCDIR = -I.
+
+-CCOPT = -Wall $(OPTIM) $(INCDIR)
++CCOPT = $(INCDIR) $(CFLAGS)
+ LDOPT = $(LIBDIR)
+
+ # Object files to store in the library
+@@ -50,7 +50,7 @@
+
+ $(LIBTARGET): $(LIBOBJS)
+ ifeq ($(SHARED),1)
+- $(CC) -shared -Wl,-soname,$(LIBTARGETSOMAJ) -o $(LIBTARGET) $(LIBOBJS)
++ $(CC) -shared -Wl,-soname,$(LIBTARGETSOMAJ) -o $(LIBTARGETSOMAJ) $(LIBOBJS)
+ else
+ ar rcs $(LIBTARGET) $(LIBOBJS)
+ endif
+@@ -63,12 +63,10 @@
+
+ install: $(LIBTARGET)
+ $(MKDIRP) $(INSTLIBDIR) $(INSTINCDIR)
+- $(INSTALL) $(LIBTARGET) $(INSTLIBDIR)
++ $(INSTALL) $(LIBTARGETSOMAJ) $(INSTLIBDIR)
$(INSTALL) $(LIBHEAD) $(INSTINCDIR)
ifeq ($(SHARED),1)
- ln -sf $(LIBTARGET) $(INSTLIBDIR)/$(LIBTARGETSOMAJ)
-- ln -sf $(LIBTARGETSOMAJ) $(INSTLIBDIR)/$(LIBTARGETSO)
+ ln -sf $(LIBTARGETSOMAJ) $(INSTLIBDIR)/$(LIBTARGETSO)
- echo "If you use GNU/Linux, remember to run ldconfig"
-+ ln -sf $(LIBTARGET) $(INSTLIBDIR)/$(LIBTARGETSO)
endif
clean:
diff --git a/devel/libxalloc/pkg-descr b/devel/libxalloc/pkg-descr
index 874dd540d4b8..d9a029e0486e 100644
--- a/devel/libxalloc/pkg-descr
+++ b/devel/libxalloc/pkg-descr
@@ -1,3 +1,5 @@
xalloc is a memory allocation library with error checking.
It contains wrappers including error checking for memory
allocating C-functions.
+
+WWW: http://shh.thathost.com/pub-unix/#xalloc