From 1d9f02eb2f7cbf53a000b5df9e7097a2281b3415 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Wed, 11 Aug 2004 19:32:37 +0000 Subject: Require GCC 3.3 or earlier; and don't use perl. --- net/mopd/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'net/mopd') diff --git a/net/mopd/Makefile b/net/mopd/Makefile index 34a72a428f0d..ae7f73f66278 100644 --- a/net/mopd/Makefile +++ b/net/mopd/Makefile @@ -24,15 +24,19 @@ COMMENT= MOP Loader Daemon for netbooting DEC machines EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} # MANDIR is concetenated to DESTDIR which all forms the man install dir... -USE_PERL5_BUILD= yes +.include MAKE_ENV= DESTDIR=${PREFIX} MANDIR=/man/man NOMANCOMPRESS=true +USE_REINPLACE= yes +.if ${OSVERSION} >= 502126 +USE_GCC= 3.3 +.endif MAN1= mopprobe.1 moptrace.1 mopchk.1 mopa.out.1 MAN8= mopd.8 do-configure: - @${PERL} -pi.orig -e 's:/usr/sbin:/sbin:' ${WRKSRC}/Makefile.inc - @${PERL} -pi.orig -e 's/MAN=/MAN8=/' ${WRKSRC}/mopd/Makefile + @${REINPLACE_CMD} -e 's:/usr/sbin:/sbin:' ${WRKSRC}/Makefile.inc + @${REINPLACE_CMD} -e 's/MAN=/MAN8=/' ${WRKSRC}/mopd/Makefile post-install: .if !defined(NOPORTDOCS) @@ -41,4 +45,4 @@ post-install: ${DISTDIR}/VS3100-console-cmds.txt ${PREFIX}/share/doc/mopd .endif -.include +.include -- cgit v1.2.3