pkgsrc-Bugs archive

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

Re: pkg/44105 (installing devel/doxygen fails on Solaris)



These two patches below seem to resolve the problem for me...

SHA1 (patch-aj) = 13e3e441fb47e02e83097145c8e7dfa76a4eb6f9

$ cat patches/patch-aj
$NetBSD$

make build honor LDFLAGS

--- src/doxygen.pro.in.orig     2010-11-15 15:39:11.071338100 -0600
+++ src/doxygen.pro.in  2010-11-15 15:39:52.485412900 -0600
@@ -19,6 +19,7 @@
 HEADERS      = doxygen.h
 SOURCES      = main.cpp
 unix:LIBS                  += -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5
+unix:TMAKE_LFLAGS          += $(LDFLAGS)
 win32:INCLUDEPATH          += .
 win32-mingw:LIBS           += -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5
 win32-msvc:LIBS            += qtools.lib md5.lib doxygen.lib
doxycfg.lib shell32.lib iconv.lib


SHA1 (patch-ak) = 2090eb6cd3146374993f352cbf82744db0c1bb60

$ cat patches/patch-ak
$NetBSD$

make build honor LDFLAGS

--- src/doxytag.pro.in.orig     2010-11-15 15:43:22.969750700 -0600
+++ src/doxytag.pro.in  2010-11-15 15:43:56.910180400 -0600
@@ -19,6 +19,7 @@
 HEADERS      =  logos.h version.h
 SOURCES      = doxytag.cpp logos.cpp version.cpp
 unix:LIBS                  += -L../lib -lqtools
+unix:TMAKE_LFLAGS          += $(LDFLAGS)
 win32:INCLUDEPATH          += .
 win32-mingw:LIBS           += -L../lib -lqtools
 win32-msvc:LIBS            += qtools.lib shell32.lib

I sent these to the package maintainer 3 days ago, no response yet, so
probably fair game to commit them... can anyone confirm this should
not break other platforms (in particular a platform with libiconv as a
builtin?)  This just adds $(LDFLAGS) to the link phase for the
binaries.

Thanks,

 - Tim

p.s. even after this fix doxygen's bmake install fails when pdftex
dies unless many of the tex* packages are built with "CONFIGURE_ARGS+=
--disable-largefile" for all big endian machines... (such as
solaris-sparc) my patch for that is:
 .include "../../mk/endian.mk"
 .if ${MACHINE_ENDIAN} == "big"
 # largefile support is broken in pdftex on big endian machines
 CONFIGURE_ARGS+=        --disable-largefile
 .endif
added to all the packages that use texlive-*-source as a DISTNAME


Home | Main Index | Thread Index | Old Index