From e304c3dc200348dc3d0bb1be5c8c1839ae96a2e6 Mon Sep 17 00:00:00 2001 From: Hiroki Sato Date: Thu, 8 Sep 2005 19:04:42 +0000 Subject: Build libkpathsea with -fPIC. Suggested by: Pascal Hofstee (caelian at gmail dot com) --- print/teTeX-base/Makefile | 2 +- print/teTeX-base/files/patch-texk::kpathsea::Makefile.in | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'print/teTeX-base') 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 -- cgit v1.2.3