summaryrefslogtreecommitdiff
path: root/textproc/aspell
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-11-17 03:39:53 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-11-17 03:39:53 +0000
commited1d8c2ac3336807b95a6106f7f0a72ef6f9a014 (patch)
tree16a185f58120906a4a34287b930f2a1034eec78c /textproc/aspell
parentFix the usage of MASTERDIR in both the slave and master port as mentioned (diff)
- Fix build problme
Does not link without at least -O, after update to 0.50.4.1 Submitted by: thierry@pompo.net
Notes
Notes: svn path=/head/; revision=94146
Diffstat (limited to 'textproc/aspell')
-rw-r--r--textproc/aspell/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/textproc/aspell/Makefile b/textproc/aspell/Makefile
index 0d8174a799ec..405f3c589a51 100644
--- a/textproc/aspell/Makefile
+++ b/textproc/aspell/Makefile
@@ -31,6 +31,11 @@ USE_REINPLACE= yes
MAKE_ARGS= NOPORTDOCS=${NOPORTDOCS}
INSTALLS_SHLIB= yes
+# Does not link without at least -O
+.if !defined(CFLAGS) || ${CFLAGS:M-O*} == ""
+CFLAGS+= -O
+.endif
+
WRKSRC= ${WRKDIR}/aspell-${PORTVERSION} # needed for slave ports / options
DOCSDIR= ${PREFIX}/share/doc/aspell
DATADIR= ${PREFIX}/share/aspell