- Fix build problme

Does not link without at least -O, after update to 0.50.4.1

Submitted by:	thierry@pompo.net
This commit is contained in:
Dirk Meyer
2003-11-17 03:39:53 +00:00
parent baad3bbbdc
commit ed1d8c2ac3
+5
View File
@@ -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