summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-08-20 02:46:43 +0000
committerjlam <jlam@pkgsrc.org>2001-08-20 02:46:43 +0000
commit90e74f30d390e3df9e62a8c7e28e6889a344c66a (patch)
tree66a704bd444de6f27acef446e232405316b79950
parentccfbc602fa00a974b200ebfd0e3f4c7df9b01ae7 (diff)
downloadpkgsrc-90e74f30d390e3df9e62a8c7e28e6889a344c66a.tar.gz
Honor CC and CFLAGS passed in from environment and mark as
USE_BUILDLINK_ONLY.
-rw-r--r--converters/dvi2tty/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/converters/dvi2tty/Makefile b/converters/dvi2tty/Makefile
index 8e486192f4f..cbf3009969b 100644
--- a/converters/dvi2tty/Makefile
+++ b/converters/dvi2tty/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2001/07/10 23:14:16 fredb Exp $
+# $NetBSD: Makefile,v 1.4 2001/08/20 02:46:43 jlam Exp $
#
DISTNAME= dvi2tty
@@ -11,6 +11,9 @@ MAINTAINER= fredb@netbsd.org
COMMENT= Program for previewing DVI files
LICENSE= no-commercial-use
+USE_BUILDLINK_ONLY= # defined
+MAKE_FLAGS+= CC="${CC}"
+MAKE_FLAGS+= CFLAGS="${CFLAGS}"
pre-patch:
cd ${WRKSRC}; \