summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortonio <tonio@pkgsrc.org>2005-11-15 12:54:35 +0000
committertonio <tonio@pkgsrc.org>2005-11-15 12:54:35 +0000
commitb9ddad4009b436116b351ca3540bb762639bc9c4 (patch)
tree8e4f1eae53369e5eada72864b82bbdda95b65832
parent5f09b4a905c01cd77450594fe73a6535aed1b767 (diff)
downloadpkgsrc-b9ddad4009b436116b351ca3540bb762639bc9c4.tar.gz
Define the user-settable variable TEX_DEFAULT in defaults/mk.conf
The default value is still teTeX2
-rw-r--r--mk/defaults/mk.conf7
-rw-r--r--mk/tex.buildlink3.mk7
2 files changed, 9 insertions, 5 deletions
diff --git a/mk/defaults/mk.conf b/mk/defaults/mk.conf
index 1338798b2f0..1f02dfc9bf3 100644
--- a/mk/defaults/mk.conf
+++ b/mk/defaults/mk.conf
@@ -1,4 +1,4 @@
-# $NetBSD: mk.conf,v 1.90 2005/11/13 22:52:18 adrianp Exp $
+# $NetBSD: mk.conf,v 1.91 2005/11/15 12:54:36 tonio Exp $
#
# This file provides default values for variables that may be overridden
@@ -1646,6 +1646,11 @@ TIN_USE_INN_SPOOL?= NO
# Possible: YES, or NO.
# Default: NO
+TEX_DEFAULT?= teTeX2
+# Specify the user's favorite latex implementation
+# Possible values: teTeX1, teTeX2, teTeX3
+# Default: teTeX2
+
#TEXMFSITE=
# Used in TeXfamily package which depends on teTeX package to specify
# site-local texmf configuration.
diff --git a/mk/tex.buildlink3.mk b/mk/tex.buildlink3.mk
index eb7bb98cb52..4e93f722207 100644
--- a/mk/tex.buildlink3.mk
+++ b/mk/tex.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: tex.buildlink3.mk,v 1.4 2005/11/14 02:38:37 minskim Exp $
+# $NetBSD: tex.buildlink3.mk,v 1.5 2005/11/15 12:54:35 tonio Exp $
#
# A Makefile fragment for tex and latex packages
#
@@ -20,8 +20,8 @@
#
# * Assume each package supports teTeX{2,3} by default.
# To change the supported latex versions, define TEX_ACCEPTED
-# explicitly before including mk/latex.buildlink3.mk. Note that the order is
-# important.
+# explicitly before including mk/latex.buildlink3.mk. Note that the
+# order is important.
#
# * Optionally set TEX_DEPMETHOD to "build" to only add a build-time
# dependency on Latex. That may be useful for creating documentation
@@ -81,7 +81,6 @@ TEX_BUILDLINK3_MK= # defined
.include "../../mk/bsd.prefs.mk"
-TEX_DEFAULT?= teTeX2
TEX_DEPMETHOD?= run
# Assume only teTeX {2-3} are supported by default.