pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/vsftpd CFLAGS must be modified after including bsd...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b87480543cc5
branches:  trunk
changeset: 563331:b87480543cc5
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Aug 13 20:20:24 2009 +0000

description:
CFLAGS must be modified after including bsd.prefs.mk.

XXX pkglint should detect this

diffstat:

 net/vsftpd/Makefile |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r e11233e87e0f -r b87480543cc5 net/vsftpd/Makefile
--- a/net/vsftpd/Makefile       Thu Aug 13 19:03:33 2009 +0000
+++ b/net/vsftpd/Makefile       Thu Aug 13 20:20:24 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2008/09/22 11:02:21 abs Exp $
+# $NetBSD: Makefile,v 1.30 2009/08/13 20:20:24 joerg Exp $
 #
 
 DISTNAME=      vsftpd-2.0.7
@@ -27,8 +27,6 @@
 DOCDIR=                ${PREFIX}/share/doc/vsftpd
 EGDIR=         ${PREFIX}/share/examples/vsftpd
 
-CFLAGS+=       -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\""
-
 CONF_FILES=    ${EGDIR}/vsftpd.conf.default ${PKG_SYSCONFDIR}/vsftpd.conf
 MAKE_DIRS=     ${VARBASE}/chroot
 OWN_DIRS=      ${VARBASE}/chroot/vsftpd
@@ -45,6 +43,7 @@
 
 .include "../../mk/bsd.prefs.mk"
 
+CFLAGS+=       -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\""
 LIBS.SunOS=    -lsocket -lnsl -lrt -lsendfile
 
 .include "options.mk"



Home | Main Index | Thread Index | Old Index