summaryrefslogtreecommitdiff
path: root/net/libradius/patches
diff options
context:
space:
mode:
authormanu <manu>2004-12-13 08:10:52 +0000
committermanu <manu>2004-12-13 08:10:52 +0000
commitbc37be74f9caae9bfccebfa3a1399cba441915e2 (patch)
treeb8e1110b7dfb53b5139a84442891fce16d51b60c /net/libradius/patches
parent84f7ee6e1447f5df0f8358ce4e83faff60955fb1 (diff)
downloadpkgsrc-bc37be74f9caae9bfccebfa3a1399cba441915e2.tar.gz
Don't build the shared lib, as it breaks on some platforms (think about
libtooliz'ing that package one day)
Diffstat (limited to 'net/libradius/patches')
-rw-r--r--net/libradius/patches/patch-aa30
1 files changed, 22 insertions, 8 deletions
diff --git a/net/libradius/patches/patch-aa b/net/libradius/patches/patch-aa
index f217d04e790..ad86a911015 100644
--- a/net/libradius/patches/patch-aa
+++ b/net/libradius/patches/patch-aa
@@ -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 @@ $NetBSD: patch-aa,v 1.3 2004/11/10 08:46:51 xtraeme Exp $
+#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
+
+ clean:
+ $(RM) *.o
- LIB= radius
- OBJS= radlib.o
@@ -61,9 +57,9 @@
$(RM) lib$(LIB).a