pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/libradius Don't build the shared lib, as it breaks...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d2aace1e8b12
branches:  trunk
changeset: 485480:d2aace1e8b12
user:      manu <manu%pkgsrc.org@localhost>
date:      Mon Dec 13 08:10:52 2004 +0000

description:
Don't build the shared lib, as it breaks on some platforms (think about
libtooliz'ing that package one day)

diffstat:

 net/libradius/Makefile         |   4 ++--
 net/libradius/distinfo         |   7 +++++--
 net/libradius/patches/patch-aa |  30 ++++++++++++++++++++++--------
 3 files changed, 29 insertions(+), 12 deletions(-)

diffs (75 lines):

diff -r 1d8e2826cf2b -r d2aace1e8b12 net/libradius/Makefile
--- a/net/libradius/Makefile    Mon Dec 13 07:07:46 2004 +0000
+++ b/net/libradius/Makefile    Mon Dec 13 08:10:52 2004 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.4 2004/11/10 09:10:46 xtraeme Exp $
+# $NetBSD: Makefile,v 1.5 2004/12/13 08:10:52 manu Exp $
 #
 
 DISTNAME=      libradius-linux-20040827
 PKGNAME=       ${DISTNAME:S/-linux//}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    net
 MASTER_SITES=  http://portal-to-web.de/tacacs/
 
diff -r 1d8e2826cf2b -r d2aace1e8b12 net/libradius/distinfo
--- a/net/libradius/distinfo    Mon Dec 13 07:07:46 2004 +0000
+++ b/net/libradius/distinfo    Mon Dec 13 08:10:52 2004 +0000
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.2 2004/11/10 08:46:51 xtraeme Exp $
+$NetBSD: distinfo,v 1.3 2004/12/13 08:10:52 manu Exp $
 
 SHA1 (libradius-linux-20040827.tar.gz) = 27abd1390d16befe290ded70579bfdda8fabe68f
 Size (libradius-linux-20040827.tar.gz) = 15791 bytes
-SHA1 (patch-aa) = 8f28804cf1c92ae230663392cd2ad0258404d665
+<<<<<<< distinfo
+=======
+>>>>>>> 1.2
+SHA1 (patch-aa) = 5fdf496cad5f656f8af502533a1a0e4c376783c6
diff -r 1d8e2826cf2b -r d2aace1e8b12 net/libradius/patches/patch-aa
--- a/net/libradius/patches/patch-aa    Mon Dec 13 07:07:46 2004 +0000
+++ b/net/libradius/patches/patch-aa    Mon Dec 13 08:10:52 2004 +0000
@@ -1,7 +1,6 @@
-$NetBSD: patch-aa,v 1.3 2004/11/10 08:46:51 xtraeme Exp $
---- Makefile.orig      2004-08-27 07:20:33.000000000 +0000
-+++ Makefile   2004-09-07 18:39:55.000000000 +0000
-@@ -23,20 +23,16 @@
+--- Makefile.orig      2004-08-27 09:20:33.000000000 +0200
++++ Makefile   2004-12-13 09:11:36.000000000 +0100
+@@ -23,17 +23,13 @@
  # SUCH DAMAGE.
  #
  #     $FreeBSD: src/lib/libradius/Makefile,v 1.1.1.1 1998/11/13 00:53:01 jdp Exp $
@@ -20,12 +19,27 @@
 +#LIBMD= -L$(PREFIX)/lib -lmd
  
  # netbsd - it's in libc
--#LIBMD= -L/usr/lib -lc
-+#LIBMD= -L/usr/lib -lc
+ #LIBMD= -L/usr/lib -lc
+ 
+@@ -47,13 +43,13 @@
+ lib$(LIB).a:    $(OBJS)
+       ar cru $@ $(OBJS)
+       ranlib $@
  
+-radlib.o:       radlib.c
+-      $(CC) $(CFLAGS) -c radlib.c -o radlib_r.o
+-      ld -r -o radlib.o radlib_r.o -L$(PREFIX)/lib $(LIBMD)
+-      $(CC) -shared radlib_r.o -o libradius.so.1.0  -L$(PREFIX)/lib $(LIBMD)
+-      $(RM) radlib_r.o
++#radlib.o:       radlib.c
++#     $(CC) $(CFLAGS) -c radlib.c -o radlib_r.o
++#     ld -r -o radlib.o radlib_r.o -L$(PREFIX)/lib $(LIBMD)
++#     $(CC) -shared radlib_r.o -o libradius.so.1.0  -L$(PREFIX)/lib $(LIBMD)
++#     $(RM) radlib_r.o
  
- LIB=    radius
- OBJS=   radlib.o
+ clean:
+       $(RM) *.o
+ 
 @@ -61,9 +57,9 @@
        $(RM) lib$(LIB).a
  



Home | Main Index | Thread Index | Old Index