aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-06-29 18:49:38 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-06-29 18:49:38 +0000
commit8bb972747541e129935065302094814f415ed535 (patch)
treef5ef7c0bc4b46e94cbc5f97083d63111233ab519 /print
parentdfaf5f8e99c6d2174b14e6050d8041c10a270f2d (diff)
downloadports-8bb972747541e129935065302094814f415ed535.tar.gz
ports-8bb972747541e129935065302094814f415ed535.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/tex/Makefile1
-rw-r--r--print/tex/files/patch-ab13
2 files changed, 12 insertions, 2 deletions
diff --git a/print/tex/Makefile b/print/tex/Makefile
index c06d8227c39d..7280d84e2ac0 100644
--- a/print/tex/Makefile
+++ b/print/tex/Makefile
@@ -24,6 +24,7 @@ CONFLICTS= teTeX*
USES= desthack gmake makeinfo
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --datadir=\$${${DESTDIRNAME}}${PREFIX}/share
INFO= kpathsea web2c
MAKE_FLAGS= fmts= all_mems=
diff --git a/print/tex/files/patch-ab b/print/tex/files/patch-ab
index 74c33fcb5d0d..4ec88a274d9a 100644
--- a/print/tex/files/patch-ab
+++ b/print/tex/files/patch-ab
@@ -1,5 +1,5 @@
---- configure.orig Sun May 13 15:01:20 2001
-+++ configure Sun May 13 15:02:43 2001
+--- ./configure.orig 1998-03-10 22:38:41.000000000 +0000
++++ ./configure 2014-06-29 18:10:24.000000000 +0000
@@ -990,8 +990,7 @@
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
@@ -10,6 +10,15 @@
# Check whether --with-dtl or --without-dtl was given.
if test "${with_dtl+set}" = set; then
+@@ -1220,7 +1219,7 @@
+ # First case, datadir is defined...
+ eval p=\"$datadir\"
+ if test -d "$p/texmf"; then
+- texmfmain="$p/texmf"
++ texmfmain="$datadir/texmf"
+ fi
+ else
+ # Second case, datadir is default...
@@ -1840,6 +1839,7 @@
s%@LN_S@%$LN_S%g
s%@TEX@%$TEX%g