ports/69930: [maintainer update] textproc/skim -- fix build
Jie Gao
gaoj at cpsc.ucalgary.ca
Mon Aug 2 23:00:43 UTC 2004
>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 at 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:
More information about the freebsd-ports-bugs
mailing list