Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  2 Aug 2004 16:57:43 -0600
From:      "Jie Gao" <gaoj@cpsc.ucalgary.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/69930: [maintainer update] textproc/skim -- fix build
Message-ID:  <200408022257.i72Mvhpi029711@imgw1.cpsc.ucalgary.ca>
Resent-Message-ID: <200408022300.i72N0bpw009920@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408022257.i72Mvhpi029711>