summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjperkin <jperkin>2013-07-05 14:47:41 +0000
committerjperkin <jperkin>2013-07-05 14:47:41 +0000
commit0a07543ba5ebcf96e69ae0ceb0ba2a7c9570d2a9 (patch)
treeaef568feb875c98488153f4f5b3fc334f887725a /net
parent67a1d8b63fadb76d259185373aa67ddeca071847 (diff)
downloadpkgsrc-0a07543ba5ebcf96e69ae0ceb0ba2a7c9570d2a9.tar.gz
Build fix for SunOS >= 5.11.
Diffstat (limited to 'net')
-rw-r--r--net/vsftpd/Makefile9
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}