summaryrefslogtreecommitdiff
path: root/devel/libmba/files
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-05-09 07:04:33 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-05-09 07:04:33 +0000
commitfb93ec2f1ee7c9976780160ba269197028546d9c (patch)
treed4cb10ef2aa32bd3fcc8ab4de0718425ff16d189 /devel/libmba/files
parentAdded missing patch file. This was missed out in the last commit. (diff)
upgrade to 0.6.0
PR: 51972 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=80527
Diffstat (limited to 'devel/libmba/files')
-rw-r--r--devel/libmba/files/patch-Makefile57
1 files changed, 0 insertions, 57 deletions
diff --git a/devel/libmba/files/patch-Makefile b/devel/libmba/files/patch-Makefile
deleted file mode 100644
index ef1f8414c5c6..000000000000
--- a/devel/libmba/files/patch-Makefile
+++ /dev/null
@@ -1,57 +0,0 @@
---- Makefile.orig Wed Apr 2 09:05:34 2003
-+++ Makefile Tue Apr 15 12:37:37 2003
-@@ -1,17 +1,17 @@
--prefix = /usr/local
-+prefix = ${PREFIX}
- includedir = $(prefix)/include
- libdir = $(prefix)/lib
- mandir = $(prefix)/man
--CC = gcc
-+CC ?= gcc
- LIBNAME = mba
--MAJVERSION = 0.5
--MINVERSION = 0.5.1
-+MAJVERSION = ${SHLIB_MAJOR}
-+MINVERSION = ${SHLIB_MAJOR}
- ARNAME = lib$(LIBNAME).a
- SONAME = lib$(LIBNAME).so.$(MINVERSION)
- SOVERSION = lib$(LIBNAME).so.$(MAJVERSION)
- DISTRO = lib$(LIBNAME)-$(MINVERSION)
- RPM_OPT_FLAGS = -O2
--CFLAGS = -Wall -W -DMSGNO -I$(includedir) -L$(libdir) $(RPM_OPT_FLAGS)
-+CFLAGS += -DMSGNO -I${LOCALBASE}/include
- #CFLAGS = -Wall -W -DMSGNO -I$(includedir) -L$(libdir) $(RPM_OPT_FLAGS) -ansi -pedantic -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -Wtraditional -Wconversion -Waggregate-return -Wno-parentheses
- OBJS = src/stack.o src/linkedlist.o src/hashmap.o src/profile.o src/hexdump.o src/msgno.o src/domnode.o src/mbs.o src/cfg.o src/pool.o src/varray.o src/shellout.o
- HDRS = src/mba/msgno.h src/mba/stack.h src/mba/linkedlist.h src/mba/hashmap.h src/mba/hexdump.h src/mba/domnode.h src/mba/profile.h src/mba/mbs.h src/mba/cfg.h src/mba/pool.h src/mba/varray.h src/mba/shellout.h
-@@ -20,7 +20,7 @@
- all: $(ARNAME)($(OBJS)) $(SONAME)
-
- $(SONAME): $(ARNAME)($(OBJS)) $(OBJS)
-- $(CC) -shared $(OBJS) -L$(libdir) -lc -lexpat -lutil -Wl,-h,$(SOVERSION) -o $(SONAME)
-+ $(CC) -shared $(OBJS) -L${LOCALBASE}/lib -lexpat -lutil -Wl,-h,$(SOVERSION) -o $(SONAME)
-
- .c.a:
- $(CC) $(CFLAGS) -c $< -o $*.o
-@@ -31,15 +31,14 @@
- $(CC) $(CFLAGS) -fpic -c -o $*.o $<
-
- install: $(SONAME)
-- install -d $(libdir)
-- install -d $(includedir)/mba
-- install -d $(mandir)/man3
-- install -m 644 $(ARNAME) $(libdir)
-- install -m 755 $(SONAME) $(libdir)
-+ mkdir -p $(libdir)
-+ mkdir -p $(includedir)/mba
-+ mkdir -p $(mandir)/man3
-+ ${BSD_INSTALL_DATA} $(ARNAME) $(libdir)
-+ ${BSD_INSTALL_DATA} $(SONAME) $(libdir)
- cd $(libdir) && ln -sf $(SONAME) $(SOVERSION) && ln -sf $(SONAME) lib$(LIBNAME).so
-- install -m 444 $(HDRS) $(includedir)/mba
-- -install -m 444 docs/man/*.3m.gz $(mandir)/man3
-- -/sbin/ldconfig $(libdir)
-+ ${BSD_INSTALL_DATA} $(HDRS) $(includedir)/mba
-+ ${BSD_INSTALL_MAN} docs/man/*.3m.gz $(mandir)/man3
-
- zip:
- -rm docs/www/dl