- make sure Type1 fonts can be found at runtime

from Slackware Linux
This commit is contained in:
ajacoutot 2009-04-09 09:25:20 +00:00
parent 5c0f045c92
commit 12184f5df1
2 changed files with 16 additions and 3 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.41 2009/01/08 09:54:32 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.42 2009/04/09 09:25:20 ajacoutot Exp $
COMMENT= format files for printing on PostScript printers
DISTNAME= a2ps-4.14
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
CATEGORIES= print
SHARED_LIBS= a2ps 2.0
MODGNU_SHARED_LIBS=a2ps ''
@ -60,7 +60,8 @@ CONFIGURE_ENV+= ac_cv_prog_COM_$p=no
.endfor
pre-configure:
${SUBST_CMD} ${WRKSRC}/configure
${SUBST_CMD} ${WRKSRC}/configure \
${WRKSRC}/etc/a2ps_cfg.in
pre-build:
/usr/bin/touch $(WRKSRC)/doc/*.info

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-etc_a2ps_cfg_in,v 1.1 2009/04/09 09:25:20 ajacoutot Exp $
--- etc/a2ps_cfg.in.orig Thu Apr 9 11:19:26 2009
+++ etc/a2ps_cfg.in Thu Apr 9 11:19:53 2009
@@ -68,7 +68,7 @@ Medium: Letterdj 612 792 24 40 588 752
# 2) Path to the a2ps resource #
#################################################################
# Default path where a2ps dropped its library files.
-LibraryPath: @libpath@
+LibraryPath: @libpath@:${X11BASE}/lib/X11/fonts/Type1
# It may be useful to extend it so that a2ps can see some
# TeX or X11 resources: it likes AFM files and PF[AB] files.