pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/fonts/fontforge Fix build on Solaris by linking agains...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ee8e0d4c0609
branches:  trunk
changeset: 555694:ee8e0d4c0609
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Mar 06 23:56:53 2009 +0000

description:
Fix build on Solaris by linking against librt on that platform only.
>From Joern Clausen in PR 40973.

diffstat:

 fonts/fontforge/Makefile |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 347da11cbff5 -r ee8e0d4c0609 fonts/fontforge/Makefile
--- a/fonts/fontforge/Makefile  Fri Mar 06 22:53:54 2009 +0000
+++ b/fonts/fontforge/Makefile  Fri Mar 06 23:56:53 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.56 2009/01/03 19:45:29 adam Exp $
+# $NetBSD: Makefile,v 1.57 2009/03/06 23:56:53 wiz Exp $
 
 DISTNAME=      fontforge_full-${VERSION}
 PKGNAME=       fontforge-${VERSION}
@@ -14,18 +14,21 @@
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
+WRKSRC=                        ${WRKDIR}/${PKGNAME_NOREV}
+
 MAKE_ENV+=     PKGLOCALEDIR=${PKGLOCALEDIR}
 
+GNU_CONFIGURE=         yes
+USE_LANGUAGES=         c c++ fortran
 USE_LIBTOOL=           yes
-USE_LANGUAGES=         c c++ fortran
 USE_PKGLOCALEDIR=      yes
 USE_TOOLS+=            gmake msgfmt
-GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --without-freetype-src
 CONFIGURE_ARGS+=       --without-python
-WRKSRC=                        ${WRKDIR}/${PKGNAME_NOREV}
 BROKEN_GETTEXT_DETECTION=      yes
 
+LDFLAGS.SunOS+=                -lrt
+
 .include "options.mk"
 
 .include "../../converters/libiconv/buildlink3.mk"



Home | Main Index | Thread Index | Old Index