pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/40973: fonts/fontforge on Solaris



>Number:         40973
>Category:       pkg
>Synopsis:       fonts/fontforge on Solaris
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 06 16:00:00 +0000 2009
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
SunOS spare4200 5.10 Generic_120012-14 i86pc i386 i86pc

>Description:
compiling fonts/fontforge on Solaris fails with an unresolved reference to 
sched_yield. Nevertheless, "bmake install" starts to copy files, but 
installation fails, as the fontforge binary is missing. This results in files 
scattered over the pkgsrc tree, that are not accounted for.
>How-To-Repeat:

>Fix:
The following fix lets the package compile

--- Makefile.orig       Sat Jan  3 20:45:29 2009
+++ Makefile    Fri Mar  6 16:30:38 2009
@@ -23,6 +23,7 @@
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --without-freetype-src
 CONFIGURE_ARGS+=       --without-python
+LDFLAGS.SunOS+=                -lrt
 WRKSRC=                        ${WRKDIR}/${PKGNAME_NOREV}
 BROKEN_GETTEXT_DETECTION=      yes

As a consequence, the install is clean. NB: This does not fix the problem of 
not noticing a failed build.

BTW: pkg/34580 was probably fixed upstream. pkg/37794 was fixed by adding 
--without-python to CONFIGURE_ARGS. Please close those two PRs.



Home | Main Index | Thread Index | Old Index