summaryrefslogtreecommitdiff
path: root/textproc/aspell/Makefile
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2004-07-24 19:05:37 +0000
committersalo <salo@pkgsrc.org>2004-07-24 19:05:37 +0000
commit8924496a948a57e086d55d46e99de890dead34aa (patch)
tree1c6d3917f0b8e3300227fba878c74d8a00360c6b /textproc/aspell/Makefile
parentd67e75d311449c0a7a79cf2926dd9712eb0658d2 (diff)
downloadpkgsrc-8924496a948a57e086d55d46e99de890dead34aa.tar.gz
Make it compile with SunPro C++
Diffstat (limited to 'textproc/aspell/Makefile')
-rw-r--r--textproc/aspell/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/textproc/aspell/Makefile b/textproc/aspell/Makefile
index a03e8f07d63..0f602f1ef62 100644
--- a/textproc/aspell/Makefile
+++ b/textproc/aspell/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2004/02/23 21:58:56 snj Exp $
+# $NetBSD: Makefile,v 1.22 2004/07/24 19:05:37 salo Exp $
#
DISTNAME= aspell-0.50.5
@@ -23,6 +23,13 @@ CONFIGURE_ARGS+= --enable-curses=ncurses
REPLACE_PERL= scripts/aspell-import
+.include "../../mk/compiler.mk"
+
+pre-patch:
+.if !empty(PKGSRC_COMPILER:Msunpro)
+ @cd ${WRKSRC} && ${PATCH} -p1 -s < suncc/aspell-0.50.4.1-suncc.diff
+.endif
+
# Create directory for dictionaries.
#
post-install: