From owner-freebsd-ports-bugs Tue Jan 21 12:40:58 2003 Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B7D737B40B for ; Tue, 21 Jan 2003 12:40:26 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 754D743F5B for ; Tue, 21 Jan 2003 12:40:10 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0LKeANS028032 for ; Tue, 21 Jan 2003 12:40:10 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0LKe9Xv028028; Tue, 21 Jan 2003 12:40:09 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8729337B401 for ; Tue, 21 Jan 2003 12:31:56 -0800 (PST) Received: from socigeog.hmt.toyama-u.ac.jp (socigeog.hmt.toyama-u.ac.jp [160.26.63.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4609943F75 for ; Tue, 21 Jan 2003 12:31:55 -0800 (PST) (envelope-from tkato@prontomail.com) Received: from localhost (localhost [127.0.0.1]) by socigeog.hmt.toyama-u.ac.jp (Postfix) with SMTP id 991526C5 for ; Wed, 22 Jan 2003 05:31:46 +0900 (JST) Message-Id: <20030122053103.09b9296e.tkato@prontomail.com> Date: Wed, 22 Jan 2003 05:31:03 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/47330: Update port: graphics/qslim Sender: owner-freebsd-ports-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 @@ -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