summaryrefslogtreecommitdiff
path: root/print/teTeX-bin
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-04-28 23:23:41 +0000
committerjlam <jlam@pkgsrc.org>2005-04-28 23:23:41 +0000
commit3ead1854e79fa548eef620b804bf5b3d823c941e (patch)
treef309d42331aba78c6489350e741ff258d089871e /print/teTeX-bin
parent7c4f04bbef2ef6c393179bc18ef2771811849d46 (diff)
downloadpkgsrc-3ead1854e79fa548eef620b804bf5b3d823c941e.tar.gz
Avoid using != to define LOWER_PAPERSIZE .. use :sh instead to defer it
until the make targets are invoked. This avoids needing ${ECHO} and ${TR} in the top-level make.
Diffstat (limited to 'print/teTeX-bin')
-rw-r--r--print/teTeX-bin/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/print/teTeX-bin/Makefile b/print/teTeX-bin/Makefile
index 05aa155c482..19b42f90e37 100644
--- a/print/teTeX-bin/Makefile
+++ b/print/teTeX-bin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.62 2005/03/01 23:03:04 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.63 2005/04/28 23:23:41 jlam Exp $
DISTNAME= tetex-src-${TETEX_BIN_VERS}
PKGNAME= teTeX-bin-${TETEX_BIN_VERS}
@@ -40,7 +40,8 @@ LDFLAGS+= -lgcc_s
.endif
.if defined(PAPERSIZE)
-LOWER_PAPERSIZE!= ${ECHO} ${PAPERSIZE} | ${TR} '[A-Z]' '[a-z]'
+LOWER_PAPERSIZE_cmd= ${ECHO} ${PAPERSIZE:Q} | ${TR} '[A-Z]' '[a-z]'
+LOWER_PAPERSIZE= ${LOWER_PAPERSIZE_cmd:sh}
.endif
post-install: