aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mk/bsd.kde.mk2
-rw-r--r--Mk/bsd.kde4.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.kde.mk b/Mk/bsd.kde.mk
index 0fc63c1bf76e..1898acbbb189 100644
--- a/Mk/bsd.kde.mk
+++ b/Mk/bsd.kde.mk
@@ -110,7 +110,7 @@ MOC?= ${QT_PREFIX}/bin/moc
BUILD_DEPENDS+= ${QT_PREFIX}/bin/moc:${PORTSDIR}/x11-toolkits/qt30
RUN_DEPENDS+= ${QT_PREFIX}/bin/moc:${PORTSDIR}/x11-toolkits/qt30
QTCPPFLAGS+= -I${LOCALBASE}/include -I${PREFIX}/include \
- -I${QT_PREFIX}/include
+ -I${QT_PREFIX}/include -D_GETOPT_H
QTCFGLIBS+= -Wl,-export-dynamic -L${LOCALBASE}/lib -L${X11BASE}/lib -ljpeg \
-L${QT_PREFIX}/lib
.if !defined(QT_NONSTANDARD)
diff --git a/Mk/bsd.kde4.mk b/Mk/bsd.kde4.mk
index 0fc63c1bf76e..1898acbbb189 100644
--- a/Mk/bsd.kde4.mk
+++ b/Mk/bsd.kde4.mk
@@ -110,7 +110,7 @@ MOC?= ${QT_PREFIX}/bin/moc
BUILD_DEPENDS+= ${QT_PREFIX}/bin/moc:${PORTSDIR}/x11-toolkits/qt30
RUN_DEPENDS+= ${QT_PREFIX}/bin/moc:${PORTSDIR}/x11-toolkits/qt30
QTCPPFLAGS+= -I${LOCALBASE}/include -I${PREFIX}/include \
- -I${QT_PREFIX}/include
+ -I${QT_PREFIX}/include -D_GETOPT_H
QTCFGLIBS+= -Wl,-export-dynamic -L${LOCALBASE}/lib -L${X11BASE}/lib -ljpeg \
-L${QT_PREFIX}/lib
.if !defined(QT_NONSTANDARD)