aboutsummaryrefslogtreecommitdiff
path: root/textproc
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
parentbaad3bbbdc74e752064026a9f69405f282dd35a5 (diff)
downloadports-ed1d8c2ac3336807b95a6106f7f0a72ef6f9a014.tar.gz
ports-ed1d8c2ac3336807b95a6106f7f0a72ef6f9a014.zip
- 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')
-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