Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 2013 03:11:35 +0000 (UTC)
From:      Nikolai Lifanov <lifanov@mail.lifanov.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/178729: [patch] unbreak print/dvipdfmx
Message-ID:  <20130518031135.454E51A2424@mail.lifanov.com>
Resent-Message-ID: <201305180320.r4I3K0he094946@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         178729
>Category:       ports
>Synopsis:       [patch] unbreak print/dvipdfmx
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 18 03:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Nikolai Lifanov
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD mail.lifanov.com 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64

>Description:
	docproj port grew a dependency on print/dvipdfmx, but at least for me,
	./configure doesn't find kpathsea correctly.
	It needs to be added to the CONFIGURE_ARGS
>How-To-Repeat:
	Attempt to "make -C /usr/ports/print/dvipdfmx"
>Fix:

	Apply this patch. Also, this trims the Makefile header.

--- patch.txt begins here ---
--- Makefile.orig       2013-05-17 23:06:17.478166029 -0400
+++ Makefile    2013-05-17 23:03:58.090174007 -0400
@@ -1,9 +1,5 @@
-# New ports collection makefile for:    dvipdfmx
-# Date created:                8 March 2001
-# Whom:                        Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
-#
+# Created by: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
 # $FreeBSD: head/print/dvipdfmx/Makefile 317899 2013-05-11 17:58:55Z hrs $
-#
 
 PORTNAME=      dvipdfmx
 PORTVERSION=   20110311
@@ -25,7 +21,9 @@
 
 USE_TEX=       yes
 GNU_CONFIGURE= yes
-CONFIGURE_ARGS=        --datadir=${LOCALBASE}/share
+CONFIGURE_ENV=  ac_cv_header_kpathsea_kpathsea_h=yes
+CONFIGURE_ARGS=        --datadir=${LOCALBASE}/share \
+               --with-kpathsea=${LOCALBASE}
 MAKE_JOBS_SAFE=        yes
 
 PLIST_SUB=     DVIPDFMXDIR=${DVIPDFMXDIR} \
--- patch.txt ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130518031135.454E51A2424>