diff options
author | jperkin <jperkin@pkgsrc.org> | 2013-07-05 14:47:41 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2013-07-05 14:47:41 +0000 |
commit | 905fd66d9b22a9757c3df9bcf18312988144ab16 (patch) | |
tree | aef568feb875c98488153f4f5b3fc334f887725a /net/vsftpd | |
parent | 74c8ee2c1bf7288368210e4f6c7cf3177c5e4105 (diff) | |
download | pkgsrc-905fd66d9b22a9757c3df9bcf18312988144ab16.tar.gz |
Build fix for SunOS >= 5.11.
Diffstat (limited to 'net/vsftpd')
-rw-r--r-- | net/vsftpd/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/net/vsftpd/Makefile b/net/vsftpd/Makefile index 857c7656150..8f2fcd170b1 100644 --- a/net/vsftpd/Makefile +++ b/net/vsftpd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.37 2013/02/06 23:23:27 jperkin Exp $ +# $NetBSD: Makefile,v 1.38 2013/07/05 14:47:41 jperkin Exp $ # DISTNAME= vsftpd-2.3.4 @@ -40,6 +40,13 @@ MAKE_ENV+= LIBS=${LIBS:Q} .include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "SunOS" && ${OS_VERSION} == "5.11" +SUBST_CLASSES+= dirfd +SUBST_STAGE.dirfd= pre-build +SUBST_FILES.dirfd= port/solaris_bogons.h +SUBST_SED.dirfd= -e '/dirfd_extras/d' +.endif + VSFTPD_USER?= vsftpd VSFTPD_GROUP?= vsftpd PKG_GROUPS= ${VSFTPD_GROUP} |