summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2009-03-06 23:56:53 +0000
committerwiz <wiz@pkgsrc.org>2009-03-06 23:56:53 +0000
commitbf919f358d44ec9f07884e6cb176426d5f78cefd (patch)
treeedbd0e9a6a156b13f1cf5eb7e9447a2a3b04c90a /fonts
parent11f6ed4db4c3152aa715ef8857c54b99038514c0 (diff)
downloadpkgsrc-bf919f358d44ec9f07884e6cb176426d5f78cefd.tar.gz
Fix build on Solaris by linking against librt on that platform only.
From Joern Clausen in PR 40973.
Diffstat (limited to 'fonts')
-rw-r--r--fonts/fontforge/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/fonts/fontforge/Makefile b/fonts/fontforge/Makefile
index e3343367dfe..aba69e8659d 100644
--- a/fonts/fontforge/Makefile
+++ b/fonts/fontforge/Makefile
@@ -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 @@ VERSION= 20081224
PKG_DESTDIR_SUPPORT= user-destdir
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+
MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR}
-USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
USE_LANGUAGES= c c++ fortran
+USE_LIBTOOL= yes
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"