Build libkpathsea with -fPIC.

Suggested by:	Pascal Hofstee (caelian at gmail dot com)
This commit is contained in:
Hiroki Sato 2005-09-08 19:04:42 +00:00
parent f08aac877e
commit e304c3dc20
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=142239
2 changed files with 11 additions and 2 deletions

View file

@ -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

View file

@ -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