diff options
author | dholland <dholland> | 2012-06-23 22:43:59 +0000 |
---|---|---|
committer | dholland <dholland> | 2012-06-23 22:43:59 +0000 |
commit | 4dd92f56291941f37376db8e69fac6b22b2dd9c5 (patch) | |
tree | 29aaf805099aa9fc8ea69875d76e3b50e62d061d | |
parent | 6f2c188860b426734028b0bc704ccbef712bcf65 (diff) | |
download | pkgsrc-4dd92f56291941f37376db8e69fac6b22b2dd9c5.tar.gz |
Explicitly add LIBS to MAKE_ENV. (Why is this only required some of the
time?)
-rw-r--r-- | net/netpipes/Makefile | 9 |
1 files 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" |