aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2005-09-08 19:04:42 +0000
committerHiroki Sato <hrs@FreeBSD.org>2005-09-08 19:04:42 +0000
commite304c3dc200348dc3d0bb1be5c8c1839ae96a2e6 (patch)
treeae425468b638362ab6690436ecfd113e378c0306 /print
parentf08aac877e5e1c9927c1b9496c8c13ffd7527b3d (diff)
downloadports-e304c3dc200348dc3d0bb1be5c8c1839ae96a2e6.tar.gz
ports-e304c3dc200348dc3d0bb1be5c8c1839ae96a2e6.zip
Build libkpathsea with -fPIC.
Suggested by: Pascal Hofstee (caelian at gmail dot com)
Notes
Notes: svn path=/head/; revision=142239
Diffstat (limited to 'print')
-rw-r--r--print/teTeX-base/Makefile2
-rw-r--r--print/teTeX-base/files/patch-texk::kpathsea::Makefile.in11
2 files changed, 11 insertions, 2 deletions
diff --git a/print/teTeX-base/Makefile b/print/teTeX-base/Makefile
index 61ece7814cc6..cc3eee964b7b 100644
--- a/print/teTeX-base/Makefile
+++ b/print/teTeX-base/Makefile
@@ -7,7 +7,7 @@
PORTNAME= teTeX-base
PORTVERSION= 3.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN} \
ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/dvips/:1
diff --git a/print/teTeX-base/files/patch-texk::kpathsea::Makefile.in b/print/teTeX-base/files/patch-texk::kpathsea::Makefile.in
index ae62314b6419..b3b9eece613f 100644
--- a/print/teTeX-base/files/patch-texk::kpathsea::Makefile.in
+++ b/print/teTeX-base/files/patch-texk::kpathsea::Makefile.in
@@ -1,5 +1,14 @@
--- texk/kpathsea/Makefile.in.orig Mon Jan 31 01:56:30 2005
-+++ texk/kpathsea/Makefile.in Sun Feb 6 08:09:44 2005
++++ texk/kpathsea/Makefile.in Wed Sep 7 04:26:21 2005
+@@ -33,7 +33,7 @@
+ library = kpathsea
+
+ # We want to compile almost everything with libtool ...
+-KPATHSEA_CC = $(LIBTOOL) --mode=compile $(CC)
++KPATHSEA_CC = $(LIBTOOL) --mode=compile $(CC) -prefer-pic
+ .SUFFIXES: .lo
+ .c.lo:
+ $(KPATHSEA_CC) $(ALL_CFLAGS) -DMAKE_KPSE_DLL -c $<
@@ -182,13 +182,13 @@
$(INSTALL_SCRIPT) $(srcdir)/mktexnam $(web2cdir)/mktexnam
$(INSTALL_DATA) $(srcdir)/mktexnam.opt $(web2cdir)/mktexnam.opt