Date: Sat, 1 Feb 2003 02:04:41 +0900 From: KATO Tsuguru <tkato@prontomail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/47746: Update port: math/spar Message-ID: <20030201020441.4cb36bea.tkato@prontomail.com>
next in thread | raw e-mail | index | archive | help
>Number: 47746 >Category: ports >Synopsis: Update port: math/spar >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:15 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/math/spar/Makefile math/spar/Makefile --- /usr/ports/math/spar/Makefile Mon Nov 11 19:00:24 2002 +++ math/spar/Makefile Fri Jan 24 03:47:37 2003 @@ -14,15 +14,18 @@ MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt - USE_REINPLACE= yes USE_LIBTOOL= yes -GNU_CONFIGURE= yes -CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" INSTALLS_SHLIB= yes MAN1= spar.1 + +.if !exists(/usr/include/getopt.h) +LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib -lgnugetopt +.endif post-patch: @${REINPLACE_CMD} -e "s,-ldl,,g" ${WRKSRC}/lib/Makefile.in >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?20030201020441.4cb36bea.tkato>