summaryrefslogtreecommitdiff
path: root/textproc/aspell
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2007-09-08 21:57:57 +0000
committerjlam <jlam@pkgsrc.org>2007-09-08 21:57:57 +0000
commit2761568ac280270d3e97f7e38922103a7a4ff840 (patch)
tree090b4461321e87c968b099c0a26b69c4da29ff20 /textproc/aspell
parent48bbc6ce1f67bf684a69a2ea4678cd6f17f128e9 (diff)
downloadpkgsrc-2761568ac280270d3e97f7e38922103a7a4ff840.tar.gz
Convert to use the features framework.
Diffstat (limited to 'textproc/aspell')
-rw-r--r--textproc/aspell/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/textproc/aspell/Makefile b/textproc/aspell/Makefile
index c710bdeea22..96117cd053f 100644
--- a/textproc/aspell/Makefile
+++ b/textproc/aspell/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.50 2007/09/06 21:51:54 jlam Exp $
+# $NetBSD: Makefile,v 1.51 2007/09/08 21:58:00 jlam Exp $
#
DISTNAME= aspell-0.60.5
@@ -14,6 +14,7 @@ PKG_DESTDIR_SUPPORT= user-destdir
CONFLICTS= libpspell-[0-9]*
GNU_CONFIGURE= yes
+USE_FEATURES= snprintf vsnprintf
USE_TOOLS+= gmake
# for bin/aspell-import
USE_TOOLS+= perl:run
@@ -30,6 +31,12 @@ CONFIGURE_ENV+= gt_cv_func_gnugettext1_libintl=yes
.include "../../mk/bsd.prefs.mk"
+.if !empty(LOWER_OPSYS:Mirix5*)
+CPPFLAGS+= -DDECLARE_VSNPRINTF -DDECLARE_SNPRINTF
+# IRIX 5 has an older implementation of signal()
+CPPFLAGS+= -DHAVE_OLD_SIGNAL
+.endif
+
# Loadable filter currently don't work on NetBSD, see
# https://sourceforge.net/tracker/?func=detail&atid=100245&aid=1336865&group_id=245
# Disable dynamic loading of filters until it is fixed.
@@ -53,12 +60,6 @@ NOT_FOR_COMPILER= xlc
LIBS.SunOS+= -lm
-.if !empty(LOWER_OPSYS:Mirix5*)
-. include "../../pkgtools/libnbcompat/inplace.mk" # {,v}snprintf()
-CPPFLAGS+= -DDECLARE_VSNPRINTF -DDECLARE_SNPRINTF
-# IRIX 5 has an older implementation of signal()
-CPPFLAGS+= -DHAVE_OLD_SIGNAL
-.endif
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"