summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-12-26 11:11:23 +0000
committeradam <adam@pkgsrc.org>2018-12-26 11:11:23 +0000
commit369ed1c35ba6dd5fc59ca61e95803dbcaba0dca6 (patch)
tree47a9e1bfa3f851f280d675966a7a371e8840a884
parent8d09075e86e734b77da9d8d257072c9e577d45c2 (diff)
downloadpkgsrc-369ed1c35ba6dd5fc59ca61e95803dbcaba0dca6.tar.gz
vsftpd: more general fix for #53002
-rw-r--r--net/vsftpd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/vsftpd/Makefile b/net/vsftpd/Makefile
index 60b32704e52..b205e1e92ba 100644
--- a/net/vsftpd/Makefile
+++ b/net/vsftpd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2018/10/18 07:51:40 maya Exp $
+# $NetBSD: Makefile,v 1.47 2018/12/26 11:11:23 adam Exp $
DISTNAME= vsftpd-3.0.3
PKGREVISION= 1
@@ -44,7 +44,7 @@ SUBST_STAGE.dirfd= pre-build
SUBST_FILES.dirfd= port/solaris_bogons.h
SUBST_SED.dirfd= -e '/dirfd_extras/d'
.endif
-.if ${OPSYS} == "FreeBSD"
+.if !empty(PKGSRC_COMPILER:Mclang)
SUBST_CLASSES+= idirafter
SUBST_MESSAGE.idirafter=Fix buggy -idirafter for clang
SUBST_STAGE.idirafter= pre-build