pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/chat/libtlen Remove incompatible compiler options and ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cb1171d35346
branches: trunk
changeset: 469754:cb1171d35346
user: minskim <minskim%pkgsrc.org@localhost>
date: Sat Feb 28 14:26:08 2004 +0000
description:
Remove incompatible compiler options and simplify Makefile rules, so
that this package can build on more platforms.
diffstat:
chat/libtlen/distinfo | 4 ++--
chat/libtlen/patches/patch-aa | 24 ++++++++++++++----------
2 files changed, 16 insertions(+), 12 deletions(-)
diffs (67 lines):
diff -r 858c34c65397 -r cb1171d35346 chat/libtlen/distinfo
--- a/chat/libtlen/distinfo Sat Feb 28 12:22:59 2004 +0000
+++ b/chat/libtlen/distinfo Sat Feb 28 14:26:08 2004 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/02/22 21:49:42 minskim Exp $
+$NetBSD: distinfo,v 1.2 2004/02/28 14:26:08 minskim Exp $
SHA1 (libtlen-20040212.tar.gz) = 26a81403ed34da5fa0b3c4663ffc82e20e5b13fb
Size (libtlen-20040212.tar.gz) = 183309 bytes
-SHA1 (patch-aa) = e1ce28c5ec1f494a9bc3f438d4bd468e680cfc9b
+SHA1 (patch-aa) = f6b9e573575797f31205a7e917b790253c8cc38b
diff -r 858c34c65397 -r cb1171d35346 chat/libtlen/patches/patch-aa
--- a/chat/libtlen/patches/patch-aa Sat Feb 28 12:22:59 2004 +0000
+++ b/chat/libtlen/patches/patch-aa Sat Feb 28 14:26:08 2004 +0000
@@ -1,13 +1,22 @@
-$NetBSD: patch-aa,v 1.1.1.1 2004/02/22 21:49:42 minskim Exp $
+$NetBSD: patch-aa,v 1.2 2004/02/28 14:26:08 minskim Exp $
---- lib/Makefile.in.orig 2003-01-16 10:33:32.000000000 +0000
+--- lib/Makefile.in.orig 2003-01-16 04:33:32.000000000 -0600
+++ lib/Makefile.in
+@@ -13,7 +13,7 @@ VERSION_MAJOR=1
+ VERSION_MINOR=5
+
+ CC = @CC@
+-CFLAGS = @CFLAGS_LIBTLEN@ -I.. -fPIC -Wall -ggdb
++CFLAGS = @CFLAGS_LIBTLEN@ -I.. -fPIC
+ LIBS= @LIBS_LIBTLEN@
+
+ MAKE = @MAKE@
@@ -33,7 +33,7 @@ STATIC = libtlen.a
HEADERS = *.h
libincludedir = /libtlen
-all: static shared test-client
-+all: static test-client
++all: static
static: $(STATIC)
shared: $(SHARED)
test-client: testclient
@@ -19,7 +28,7 @@
- $(RANLIB) $(STATIC)
+ ${LIBTOOL} --mode=link ${CC} -o ${STATIC:.a=.la} ${OBJS:.o=.lo} -rpath ${PREFIX}/lib -version-info ${VERSION_MAJOR}:${VERSION_MINOR}
+
-+%.o: %.c
++.c.o:
+ ${LIBTOOL} --mode=compile ${CC} -c ${CPPFLAGS} ${CFLAGS} $< -o $@
$(SHARED): $(OBJS)
@@ -32,7 +41,7 @@
install-shared:
$(INSTALL) -d $(DESTDIR)$(libdir)
-@@ -66,12 +68,11 @@ install-shared:
+@@ -66,8 +68,7 @@ install-shared:
cd $(DESTDIR)$(libdir) && $(LN_S) -f $(SHARED) $(SHAREDMM)
install-static:
@@ -42,8 +51,3 @@
install-devel:
$(INSTALL) -d $(DESTDIR)$(includedir)$(libincludedir)
- $(INSTALL) -m 644 $(HEADERS) $(DESTDIR)$(includedir)$(libincludedir)
-
- testclient: $(STATIC) testclient.c
-- $(CC) -Wall -ggdb -o testclient testclient.c libtlen.a $(LIBS)
-+ ${LIBTOOL} --mode=link $(CC) -Wall -o testclient testclient.c libtlen.la $(LIBS)
Home |
Main Index |
Thread Index |
Old Index