aboutsummaryrefslogtreecommitdiffstats
path: root/net/nss-pam-ldapd
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2010-11-05 06:29:15 +0800
committerpav <pav@FreeBSD.org>2010-11-05 06:29:15 +0800
commite018e5ff1ace245f03e036f7fa8cdae51440e196 (patch)
treead4846c273dc792e17d101e70cef06e711c5806e /net/nss-pam-ldapd
parent9cdaa07a48307b652a9e2447e4dbf60094278878 (diff)
downloadfreebsd-ports-gnome-e018e5ff1ace245f03e036f7fa8cdae51440e196.tar.gz
freebsd-ports-gnome-e018e5ff1ace245f03e036f7fa8cdae51440e196.tar.zst
freebsd-ports-gnome-e018e5ff1ace245f03e036f7fa8cdae51440e196.zip
- Mark BROKEN on 7.X: unsupported sed construct in post-extract
Reported by: pointyhat
Diffstat (limited to 'net/nss-pam-ldapd')
-rw-r--r--net/nss-pam-ldapd/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/nss-pam-ldapd/Makefile b/net/nss-pam-ldapd/Makefile
index 7ab124ca993a..cc70e826248b 100644
--- a/net/nss-pam-ldapd/Makefile
+++ b/net/nss-pam-ldapd/Makefile
@@ -95,6 +95,10 @@ MAN5+= nslcd.conf.5
MAN8+= nslcd.8
.endif
+.if ${OSVERSION} < 800000
+BROKEN= fails to patch on 7.X
+.endif
+
post-extract:
@${REINPLACE_CMD} -e 's/\(INSTALL_\)\(.*\)) -D /\1\2) /' ${WRKSRC}/Makefile.in ${WRKSRC}/nss/Makefile.in
@${REINPLACE_CMD} -e 's/shadow.$$(OBJEXT)/shadow.$$(OBJEXT) bsdnss.$$(OBJEXT)/;s/shadow\.c/shadow.c bsdnss.c/' ${WRKSRC}/nss/Makefile.in