diff options
author | obrien <obrien@FreeBSD.org> | 2000-11-11 20:13:00 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-11-11 20:13:00 +0800 |
commit | a6348e545bd2bf8f18ae3737d3c35202032b8c0c (patch) | |
tree | 6e0f3bb3a63c81f9c626be2362a5d3b897af79df /devel/libxalloc | |
parent | 3f04c0512592547f42c013749ed8e278efae189a (diff) | |
download | freebsd-ports-gnome-a6348e545bd2bf8f18ae3737d3c35202032b8c0c.tar.gz freebsd-ports-gnome-a6348e545bd2bf8f18ae3737d3c35202032b8c0c.tar.zst freebsd-ports-gnome-a6348e545bd2bf8f18ae3737d3c35202032b8c0c.zip |
PREFIX, etc. changes.
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'devel/libxalloc')
-rw-r--r-- | devel/libxalloc/files/patch-aa | 58 | ||||
-rw-r--r-- | devel/libxalloc/pkg-descr | 2 |
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 |