summaryrefslogtreecommitdiffstats
path: root/math/kcalc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/kcalc/Makefile')
-rw-r--r--math/kcalc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/kcalc/Makefile b/math/kcalc/Makefile
index 6387bd1..1833fce 100644
--- a/math/kcalc/Makefile
+++ b/math/kcalc/Makefile
@@ -24,7 +24,7 @@ CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} \
--with-qt-includes=${X11BASE}/include/qt2 \
--with-qt-libraries=${X11BASE}/lib
CONFIGURE_ENV+= MOC="${MOC}" LIBQT="-lqt2" LIBQTFILE="libqt2" \
- CPPFLAGS="-I${LOCALBASE}/include" \
+ CPPFLAGS="-I${LOCALBASE}/include -D_GETOPT_H" \
LIBS="-Wl,-export-dynamic -L${LOCALBASE}/lib -ljpeg -lstdc++ -lgcc" \
USER_LDFLAGS="-Wl,-export-dynamic -L${LOCALBASE}/lib -ljpeg -lstdc++ -lgcc"
USE_GMAKE= yes
OpenPOWER on IntegriCloud