From 4dd92f56291941f37376db8e69fac6b22b2dd9c5 Mon Sep 17 00:00:00 2001 From: dholland Date: Sat, 23 Jun 2012 22:43:59 +0000 Subject: Explicitly add LIBS to MAKE_ENV. (Why is this only required some of the time?) --- net/netpipes/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/net/netpipes/Makefile b/net/netpipes/Makefile index 1952be47763..f993cec7d68 100644 --- a/net/netpipes/Makefile +++ b/net/netpipes/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2010/02/11 22:17:36 joerg Exp $ +# $NetBSD: Makefile,v 1.8 2012/06/23 22:43:59 dholland Exp $ DISTNAME= netpipes-4.2-export PKGNAME= ${DISTNAME:S/-export//} @@ -15,12 +15,13 @@ WRKSRC= ${WRKDIR} USE_TOOLS+= tbl LIBS.SunOS+= -lsocket -lnsl +MAKE_ENV+= LIBS=${LIBS:Q} INSTALLATION_DIRS= bin ${PKGMANDIR} post-build: - cd ${WRKSRC}; for f in faucet.1 hose.1; do \ - ${TBL} $$f > $$f.new; ${MV} -f $$f.new $$f; \ - done +.for f in faucet.1 hose.1 + cd ${WRKSRC} && ${TBL} ${f} > ${f}.new && ${MV} -f ${f}.new ${f} +.endfor .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3