summaryrefslogtreecommitdiff
blob: c46b990d1d68ef5e3fdc50898678aa7eff213dce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
This enables --as-needed to work fully on FreeBSD.
This can be pulled for FreeBSD-7.

diff -ur lib.orig/libmp/Makefile lib/libmp/Makefile
--- lib.orig/libmp/Makefile	2007-09-14 07:40:20 +0100
+++ lib/libmp/Makefile	2007-09-14 07:44:49 +0100
@@ -2,6 +2,8 @@
 
 LIB=		mp
 SHLIB_MAJOR=	5
+DPADD=		${LIBCRYPTO}
+LDADD=		-lcrypto
 MAN=		libmp.3
 INCS=		mp.h
 SRCS=		mpasbn.c
diff -ur lib.orig/libncp/Makefile lib/libncp/Makefile
--- lib.orig/libncp/Makefile	2007-09-14 07:40:20 +0100
+++ lib/libncp/Makefile	2007-09-14 07:44:49 +0100
@@ -5,6 +5,8 @@
 LIB=		ncp
 
 SHLIB_MAJOR=	2
+DPADD=		${LIBIPX}
+LDADD=		-lipx
 
 NO_MAN=
 
diff -ur lib.orig/libsmb/Makefile lib/libsmb/Makefile
--- lib.orig/libsmb/Makefile	2007-09-14 07:40:20 +0100
+++ lib/libsmb/Makefile	2007-09-14 07:44:49 +0100
@@ -5,6 +5,8 @@

 LIB=	smb
 SHLIB_MAJOR=	2
+DPADD=	${LIBKICONV}
+LDADD=	-lkiconv
 NO_MAN=

 SRCS=	rcfile.c ctx.c cfopt.c subr.c nls.c rap.c mbuf.c rq.c file.c \