pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/doxygen Fix build under OpenBSD/amd64 5.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6b6a3e0e1b4d
branches:  trunk
changeset: 629696:6b6a3e0e1b4d
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sun Jan 26 04:22:03 2014 +0000

description:
Fix build under OpenBSD/amd64 5.4

* Pass -liconv to LDFLAGS

diffstat:

 devel/doxygen/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r d18486758c03 -r 6b6a3e0e1b4d devel/doxygen/Makefile
--- a/devel/doxygen/Makefile    Sun Jan 26 04:00:19 2014 +0000
+++ b/devel/doxygen/Makefile    Sun Jan 26 04:22:03 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.106 2014/01/19 23:00:05 markd Exp $
+# $NetBSD: Makefile,v 1.107 2014/01/26 04:22:03 ryoon Exp $
 
 DISTNAME=      doxygen-1.8.6.src
 PKGNAME=       ${DISTNAME:S/.src//}
@@ -13,6 +13,8 @@
 
 WRKSRC=                        ${WRKDIR}/${PKGNAME_NOREV}
 UNLIMIT_RESOURCES+=    datasize
+# doxygen upstream uses this version of flex
+FLEX_REQD=             2.5.35
 USE_TOOLS+=            gmake gs:run perl:run bison flex
 USE_LANGUAGES=         c c++
 HAS_CONFIGURE=         yes
@@ -27,6 +29,7 @@
 MAKE_FLAGS+=           MAN1DIR=${PKGMANDIR}/man1
 
 LDFLAGS.FreeBSD=       -liconv
+LDFLAGS.OpenBSD=       -liconv
 
 REPLACE_PERL=          tmake/bin/tmake
 
@@ -70,6 +73,9 @@
 CONFIGURE_ARGS+=       -platform freebsd-g++
 .endif
 
+LDFLAGS.FreeBSD+=      ${BUILDLINK_LDADD.iconv}
+LDFLAGS.OpenBSD+=      ${BUILDLINK_LDADD.iconv}
+
 post-patch:
        touch ${WRKSRC}/src/doxytag.l
 



Home | Main Index | Thread Index | Old Index