summaryrefslogtreecommitdiff
path: root/net/vsftpd
diff options
context:
space:
mode:
authorjoerg <joerg>2009-08-13 20:20:24 +0000
committerjoerg <joerg>2009-08-13 20:20:24 +0000
commit1bdeb6effa99948274ccf30257b9b949ad536669 (patch)
tree76c7effe3fb3f4928e853facb46df93405ec9980 /net/vsftpd
parentbd0680bbaa3234e2d2e6f51ea90e8e3840a65cb2 (diff)
downloadpkgsrc-1bdeb6effa99948274ccf30257b9b949ad536669.tar.gz
CFLAGS must be modified after including bsd.prefs.mk.
XXX pkglint should detect this
Diffstat (limited to 'net/vsftpd')
-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"