Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Apr 2004 00:59:14 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/65130: Fix port: japanese/dvi2dvi
Message-ID:  <200404031559.i33FxEpq070515@alph.allbsd.org>
Resent-Message-ID: <200404031600.i33G0gTn006235@freefall.freebsd.org>

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

>Number:         65130
>Category:       ports
>Synopsis:       Fix port: japanese/dvi2dvi
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 03 08:00:42 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Hiroki Sato
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
Tokyo University of Science
>Environment:
System: FreeBSD alph.allbsd.org 4.9-STABLE FreeBSD 4.9-STABLE #2: Fri Mar 19 04:20:12 JST 2004     hrs@alph.allbsd.org:/usr/obj/usr/src/sys/ALPH  i386

>Description:
	Unbreak the amd64 build (confirmed on sledge) and
	fix a RUN_DEPENDS line.

>How-To-Repeat:
	N/A

>Fix:

Index: dvi2dvi/Makefile
===================================================================
RCS file: /home/ncvs/ports/japanese/dvi2dvi/Makefile,v
retrieving revision 1.8
diff -d -u -I\$FreeBSD:.*\$ -I\$NetBSD:.*\$ -I\$OpenBSD:.*\$ -I\$Id:.*\$ -I\$hrs:.*\$ -r1.8 Makefile
--- dvi2dvi/Makefile	3 Apr 2004 14:05:54 -0000	1.8
+++ dvi2dvi/Makefile	3 Apr 2004 15:38:55 -0000
@@ -17,26 +17,21 @@
 MAINTAINER=	hrs@FreeBSD.org
 COMMENT=	A DVI to DVI transformer
 
-RUN_DEPENDS=	${PREFIX}/share/fonts/vf-n2a:${PORTSDIR}/japanese/vftool
+RUN_DEPENDS=	${LOCALBASE}/share/fonts/vf-n2a:${PORTSDIR}/japanese/vftool
 
 USE_GMAKE=	yes
 MAKE_ENV+=	kpathsea_parent=../${KPATHSEA_PARENT}
+GNU_CONFIGURE=	yes
+CONFIGURE_WRKSRC=	${WRKDIR}/${KPATHSEA_PARENT}/kpathsea
+CONFIGURE_ARGS+=	--prefix=${PREFIX}
 
 KPATHSEA_PARENT=	web2c-7.2
 
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} == "amd64"
-BROKEN=		"Does not build on amd64"
-.endif
-
 post-extract:
 	@( cd ${WRKSRC} ; ${MAKE} newlib )
 	@${CP} ${FILESDIR}/fontdesc ${WRKSRC}/lib
-
-pre-configure:
-	@( cd ${WRKDIR}/${KPATHSEA_PARENT}/kpathsea ; \
-	    ./configure --prefix=${PREFIX} )
 
 pre-build:
 	@( cd ${WRKDIR}/${KPATHSEA_PARENT}/kpathsea ; ${GMAKE} )
>Release-Note:
>Audit-Trail:
>Unformatted:



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