Date: Sat, 1 Feb 2003 02:05:17 +0900 From: KATO Tsuguru <tkato@prontomail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/47753: Update port: print/catdvi Message-ID: <20030201020517.414fb18e.tkato@prontomail.com>
next in thread | raw e-mail | index | archive | help
>Number: 47753 >Category: ports >Synopsis: Update port: print/catdvi >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jan 31 09:10:18 PST 2003 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.7-RELEASE-p3 i386 >Organization: >Environment: >Description: - Conditionalize libgnugetopt dependencies >How-To-Repeat: >Fix: diff -urN /usr/ports/print/catdvi/Makefile print/catdvi/Makefile --- /usr/ports/print/catdvi/Makefile Mon Jan 6 16:04:14 2003 +++ print/catdvi/Makefile Fri Jan 24 05:34:14 2003 @@ -15,16 +15,22 @@ MAINTAINER= ports@FreeBSD.org BUILD_DEPENDS= ${LOCALBASE}/lib/libkpathsea.a:${PORTSDIR}/print/teTeX -LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" MAKEFILE= GNUmakefile ALL_TARGET= # empty MAN1= catdvi.1 + +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib + +.if !exists(/usr/include/getopt.h) +LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt +LDFLAGS+= -lgnugetopt +.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/catdvi ${PREFIX}/bin >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030201020517.414fb18e.tkato>