summaryrefslogtreecommitdiff
path: root/security/PAM/patches/patch-af
blob: 2a61cae07830dc601310f9e874fdbd27d218feaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-af,v 1.3 2002/12/23 21:23:58 jlam Exp $

--- libpamc/Makefile.orig	Sat Feb 10 02:17:53 2001
+++ libpamc/Makefile
@@ -85,7 +85,7 @@ ifeq ($(DYNAMIC_LIBPAM),yes)
 	$(INSTALL) -m $(SHLIBMODE) $(LIBNAMED) $(FAKEROOT)$(libdir)/$(LIBNAMEDFULL)
 	$(LDCONFIG)
   ifneq ($(DYNTYPE),"sl")
-	( cd $(FAKEROOT)$(libdir) ; rm -f $(LIBNAMED) ; ln -s $(LIBNAMEDNAME) $(LIBNAMED) )
+	( cd $(FAKEROOT)$(libdir) ; rm -f $(LIBNAMED) $(LIBNAMEDNAME); ln -s $(LIBNAMEDFULL) $(LIBNAMED); ln -s $(LIBNAMEDFULL) $(LIBNAMEDNAME) )
   endif
 endif
 ifeq ($(STATIC_LIBPAM),yes)