From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Aug 2 23:00:43 2004 Return-Path: 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 2341116A4D0 for ; Mon, 2 Aug 2004 23:00:43 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98D7943D75 for ; Mon, 2 Aug 2004 23:00:39 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i72N0cPg009921 for ; Mon, 2 Aug 2004 23:00:38 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i72N0bpw009920; Mon, 2 Aug 2004 23:00:37 GMT (envelope-from gnats) Resent-Date: Mon, 2 Aug 2004 23:00:37 GMT Resent-Message-Id: <200408022300.i72N0bpw009920@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jie Gao Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A29116A4CE for ; Mon, 2 Aug 2004 22:58:36 +0000 (GMT) Received: from ensc.cpsc.ucalgary.ca (ensc.cpsc.ucalgary.ca [136.159.2.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id E62DB43D4C for ; Mon, 2 Aug 2004 22:58:35 +0000 (GMT) (envelope-from gaoj@cpsc.ucalgary.ca) Received: from imgw1.cpsc.ucalgary.ca (imgw1.cpsc.ucalgary.ca [136.159.5.9]) i72MvmS7009420 for ; Mon, 2 Aug 2004 16:57:48 -0600 (MDT) Received: from _HOSTNAME_ (sana-sa [136.159.7.231])i72Mvhpi029711 for ; Mon, 2 Aug 2004 16:57:44 -0600 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Mon, 2 Aug 2004 16:57:43 -0600 Message-Id: <200408022257.i72Mvhpi029711@imgw1.cpsc.ucalgary.ca> Date: Mon, 2 Aug 2004 16:57:43 -0600 From: "Jie Gao" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/69930: [maintainer update] textproc/skim -- fix build X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jie Gao List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2004 23:00:43 -0000 >Number: 69930 >Category: ports >Synopsis: [maintainer update] textproc/skim -- fix build >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Aug 02 23:00:37 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Jie Gao >Release: FreeBSD 5.2-delphij-20040801 i386 >Organization: >Environment: System: FreeBSD aibsd-current.cpsc.ucalgary.ca 5.2-delphij-20040801 FreeBSD 5.2-delphij-20040801 #0: Sat Jul 31 19:08:12 MDT 2004 root@aibsd-current.cpsc.ucalgary.ca:/usr/obj/usr/src/sys/AIBSD i386 >Description: The configure script of textproc/skim does not make use of CFLAGS or CPPFLAGS but only CXXFLAGS. So the critical ``-D__STDC_ISO_10646__'' should be put to CXXFLAGS in CONFIGURE_ENV. In my last update to textproc/skim (PR ports/69777), ``-D__STDC_ISO_10646__'' was put in PTHREAD_CFLAGS as my hack and that worked. However, I forgot to bring pav's attention so it was moved to CFLAGS by pav. >How-To-Repeat: cd /usr/ports/textproc/skim && make You will end up with some unresolved functions when linking skim. >Fix: Apply the path below to the port directory. --- patch-skim begins here --- diff -ruN skim.old/Makefile skim/Makefile --- skim.old/Makefile Mon Aug 2 16:39:43 2004 +++ skim/Makefile Mon Aug 2 16:40:10 2004 @@ -21,7 +21,7 @@ USE_GMAKE= yes USE_REINPLACE= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= CFLAGS="-D__STDC_ISO_10646__" \ +CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -D__STDC_ISO_10646__" \ PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ PTHREAD_LIBS="${PTHREAD_LIBS}" --- patch-skim ends here --- >Release-Note: >Audit-Trail: >Unformatted: