Date: Wed, 22 Jan 2003 05:31:03 +0900 From: KATO Tsuguru <tkato@prontomail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/47330: Update port: graphics/qslim Message-ID: <20030122053103.09b9296e.tkato@prontomail.com>
next in thread | raw e-mail | index | archive | help
>Number: 47330 >Category: ports >Synopsis: Update port: graphics/qslim >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: Tue Jan 21 12:40:09 PST 2003 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.7-RELEASE-p2 i386 >Organization: >Environment: >Description: - Conditionalize gnugetopt dependencies - Fix a minor typo >How-To-Repeat: >Fix: diff -urN /usr/ports/graphics/qslim/Makefile graphics/qslim/Makefile --- /usr/ports/graphics/qslim/Makefile Sun Dec 29 14:51:50 2002 +++ graphics/qslim/Makefile Wed Jan 22 02:19:34 2003 @@ -13,8 +13,7 @@ MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \ - png.5:${PORTSDIR}/graphics/png \ +LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ tiff.4:${PORTSDIR}/graphics/tiff \ forms.1:${PORTSDIR}/x11-toolkits/xforms @@ -30,8 +29,7 @@ CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include \ -I${X11BASE}/include/X11 ${PTHREAD_CFLAGS} -LDFLAGS= -L${LOCALBASE}/lib -lgnugetopt -L${X11BASE}/lib \ - ${PTHREAD_LIBS} +LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS} .include <bsd.port.pre.mk> @@ -39,7 +37,12 @@ CFLAGS+= -DMIX_ANSI_IOSTREAMS -fpermissive .endif -post-extact: +.if !exists(/usr/include/getopt.h) +LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt +LDFLAGS+= -lgnugetopt +.endif + +post-extract: @${RM} -f ${WRKSRC}/mixkit/src/getopt.h post-patch: >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?20030122053103.09b9296e.tkato>