summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-08-13 20:20:24 +0000
committerjoerg <joerg@pkgsrc.org>2009-08-13 20:20:24 +0000
commitea7ca55a092a5ef74fbc02db66e4f8a409bc4a92 (patch)
tree76c7effe3fb3f4928e853facb46df93405ec9980 /net
parentd77b897e180117522ee7d771e640519864ccce84 (diff)
downloadpkgsrc-ea7ca55a092a5ef74fbc02db66e4f8a409bc4a92.tar.gz
CFLAGS must be modified after including bsd.prefs.mk.
XXX pkglint should detect this
Diffstat (limited to 'net')
-rw-r--r--net/vsftpd/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/vsftpd/Makefile b/net/vsftpd/Makefile
index 1c60b06af25..1bbf537615e 100644
--- a/net/vsftpd/Makefile
+++ b/net/vsftpd/Makefile
@@ -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 @@ PKG_USERS= ${VSFTPD_USER}:${VSFTPD_GROUP}
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 @@ MAKE_ENV+= LIBS=${LIBS:M*:Q}
.include "../../mk/bsd.prefs.mk"
+CFLAGS+= -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\""
LIBS.SunOS= -lsocket -lnsl -lrt -lsendfile
.include "options.mk"