summaryrefslogtreecommitdiff
path: root/chat/libtlen
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-02-28 14:26:08 +0000
committerminskim <minskim@pkgsrc.org>2004-02-28 14:26:08 +0000
commit29e0ff957c5f92499230196413cac4db29ea6b39 (patch)
tree08b0f37e360618b7f61228aee315a06de3e25b31 /chat/libtlen
parente891638d92196ee551fe0435448f4a08c58a7786 (diff)
downloadpkgsrc-29e0ff957c5f92499230196413cac4db29ea6b39.tar.gz
Remove incompatible compiler options and simplify Makefile rules, so
that this package can build on more platforms.
Diffstat (limited to 'chat/libtlen')
-rw-r--r--chat/libtlen/distinfo4
-rw-r--r--chat/libtlen/patches/patch-aa24
2 files changed, 16 insertions, 12 deletions
diff --git a/chat/libtlen/distinfo b/chat/libtlen/distinfo
index 6b1f9e963da..8760b82ac35 100644
--- a/chat/libtlen/distinfo
+++ b/chat/libtlen/distinfo
@@ -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 --git a/chat/libtlen/patches/patch-aa b/chat/libtlen/patches/patch-aa
index 3698e8cc36d..b09ab1a287d 100644
--- a/chat/libtlen/patches/patch-aa
+++ b/chat/libtlen/patches/patch-aa
@@ -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 @@ $NetBSD: patch-aa,v 1.1.1.1 2004/02/22 21:49:42 minskim Exp $
- $(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 @@ $NetBSD: patch-aa,v 1.1.1.1 2004/02/22 21:49:42 minskim Exp $
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 @@ $NetBSD: patch-aa,v 1.1.1.1 2004/02/22 21:49:42 minskim Exp $
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)