freebsd-ports/print/tex-dvipdfmx/files/m4-cho-libs.m4
Hiroki Sato 7148be76c6 - Separate print/tex-dvipdfmx from print/texlive-base and add libpaper
support.  dvipdfmx's default paper size can be set by
  ${LOCALBASE}/etc/papersize and/or PAPERSIZE environment variable as
  other programs like print/psutils do.

- Use absolute pathname in {fmtutil,texconfig,updmap}-sys programs because
  manually-installed and/or old TeXLive files can prevent them from
  working. [1]

- Fix pkg-plist in print/texlive-texmf.

- Remove DIST_SUBDIR from Mk/bsd.tex.mk.

Reported by:	bsam, Stephen Montgomery-Smith [1]
2013-05-07 08:44:32 +00:00

12 lines
465 B
Text

--- m4/cho-libs.m4.orig 2013-05-07 15:29:52.000000000 +0900
+++ m4/cho-libs.m4 2013-05-07 15:45:02.000000000 +0900
@@ -60,7 +60,8 @@
[struct paper *p;],
[AC_MSG_RESULT(yes)
AC_SEARCH_LIBS([paperpswidth], [paper],
- [AC_DEFINE(HAVE_LIBPAPER, 1, [Define if you have libpaper])])],
+ [AC_DEFINE(HAVE_LIBPAPER, 1, [Define if you have libpaper])]m
+ [], [LIBS="-lpaper $LIBS"])],
[CPPFLAGS=$_cppflags
LDDFLAGS=$_ldflags
AC_MSG_RESULT(no)])