Merge from vendor branch TNF:
[pkgsrcv2.git] / net / proftpd / patches / patch-aa
1 $NetBSD: patch-aa,v 1.12 2010/03/21 21:24:25 kim Exp $
2
3 Make this pkgsrc friendly.
4
5 Linking ftpdctl does not (seem to) require all the libraries needed for
6 various proftpd modules.  It definitely cannot include -lwrap.
7
8 --- Makefile.in.orig    2009-12-15 23:24:42.000000000 +0000
9 +++ Makefile.in
10 @@ -58,7 +58,7 @@ ftpcount$(EXEEXT): lib utils
11         $(CC) $(LDFLAGS) -o $@ $(BUILD_FTPCOUNT_OBJS) $(UTILS_LIBS)
12  
13  ftpdctl$(EXEEXT): lib src
14 -       $(CC) $(LDFLAGS) -o $@ $(BUILD_FTPDCTL_OBJS) $(LIBS)
15 +       $(CC) $(LDFLAGS) -o $@ $(BUILD_FTPDCTL_OBJS) $(UTILS_LIBS)
16  
17  ftpscrub$(EXEEXT): lib utils
18         $(CC) $(LDFLAGS) -o $@ $(BUILD_FTPSCRUB_OBJS) $(UTILS_LIBS)
19 @@ -147,7 +147,7 @@ install-man: $(DESTDIR)$(mandir) $(DESTD
20         $(INSTALL_MAN) $(top_srcdir)/utils/ftpwho.1   $(DESTDIR)$(mandir)/man1
21         $(INSTALL_MAN) $(top_srcdir)/src/xferlog.5    $(DESTDIR)$(mandir)/man5
22  
23 -install-all: install-proftpd install-modules install-utils install-conf install-man install-libs install-headers install-pkgconfig install-locales $(INSTALL_DEPS)
24 +install-all: install-proftpd install-modules install-utils install-man install-libs install-headers install-pkgconfig install-locales $(INSTALL_DEPS)
25  
26  install: all install-all
27