aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-11-17 11:39:53 +0800
committerdinoex <dinoex@FreeBSD.org>2003-11-17 11:39:53 +0800
commit150c8836242a4b06e344293fdd3b212fba669cfe (patch)
tree3a95ba6300c02154389cb8cd346f9ed846e80dd0 /textproc
parentb4d17b23720de9d9a76609a5bc24744519830c28 (diff)
downloadfreebsd-ports-graphics-150c8836242a4b06e344293fdd3b212fba669cfe.tar.gz
freebsd-ports-graphics-150c8836242a4b06e344293fdd3b212fba669cfe.tar.zst
freebsd-ports-graphics-150c8836242a4b06e344293fdd3b212fba669cfe.zip
- Fix build problme
Does not link without at least -O, after update to 0.50.4.1 Submitted by: thierry@pompo.net
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 0d8174a799e..405f3c589a5 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