diff options
-rw-r--r-- | net/ucd-snmp-current/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/net/ucd-snmp-current/Makefile b/net/ucd-snmp-current/Makefile index e8a86f00152..224c56e9394 100644 --- a/net/ucd-snmp-current/Makefile +++ b/net/ucd-snmp-current/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2001/09/24 15:06:20 tron Exp $ +# $NetBSD: Makefile,v 1.15 2001/09/26 23:53:55 wrstuden Exp $ DISTNAME= ucd-snmp-4.2.1 CATEGORIES= net @@ -51,7 +51,14 @@ post-extract: @${LN} ${WRKSRC}/s/netbsd.h ${WRKSRC}/s/netbsdelf.h pre-configure: - cd ${WRKSRC} && ${LOCALBASE}/bin/autoreconf + (cd ${WRKSRC} && ${LOCALBASE}/bin/autoreconf) +.if ${OPSYS} == SunOS +# Adapt for the fact that the default I've seen of ac_max_sed_cmds=90 +#will not work w/ built-in sed on Solaris. + (cd ${WRKSRC} && ${SED} \ + 's/ac_max_sed_cmds=[0-9][0-9]*/ac_max_sed_cmds=10/' \ + configure > tmp && cp tmp configure && rm tmp) +.endif post-build: ${SED} 's,@PREFIX@,${PREFIX},g' < ${FILESDIR}/snmpd.sh > ${WRKDIR}/snmpd |