From 37b062ed62665ace31e4373b458cc75681213764 Mon Sep 17 00:00:00 2001 From: will Date: Mon, 5 Mar 2001 12:17:08 +0000 Subject: Attempt to fix conflicts with a local getopt.h (specifically, the fix is for libgnugetopt's getopt.h). Not tested, but should work. --- x11-clocks/kdetoys2/Makefile | 2 +- x11-clocks/kdetoys3/Makefile | 2 +- x11-clocks/kdetoys4/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'x11-clocks') diff --git a/x11-clocks/kdetoys2/Makefile b/x11-clocks/kdetoys2/Makefile index 4a5fca050001..ed7dfbd8a059 100644 --- a/x11-clocks/kdetoys2/Makefile +++ b/x11-clocks/kdetoys2/Makefile @@ -24,7 +24,7 @@ CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} \ --with-qt-libraries=${X11BASE}/lib \ --with-extra-libs=${LOCALBASE}/lib CONFIGURE_ENV+= LIBQT="-lqt2" MOC="${MOC}" DO_NOT_COMPILE=mouse LIBQTFILE="libqt2" \ - CPPFLAGS="-I${LOCALBASE}/include" \ + CPPFLAGS="-I${LOCALBASE}/include -D_GETOPT_H" \ LIBS="-Wl,-export-dynamic -L${LOCALBASE}/lib -ljpeg -lgcc -lstdc++" USE_GMAKE= yes diff --git a/x11-clocks/kdetoys3/Makefile b/x11-clocks/kdetoys3/Makefile index 4a5fca050001..ed7dfbd8a059 100644 --- a/x11-clocks/kdetoys3/Makefile +++ b/x11-clocks/kdetoys3/Makefile @@ -24,7 +24,7 @@ CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} \ --with-qt-libraries=${X11BASE}/lib \ --with-extra-libs=${LOCALBASE}/lib CONFIGURE_ENV+= LIBQT="-lqt2" MOC="${MOC}" DO_NOT_COMPILE=mouse LIBQTFILE="libqt2" \ - CPPFLAGS="-I${LOCALBASE}/include" \ + CPPFLAGS="-I${LOCALBASE}/include -D_GETOPT_H" \ LIBS="-Wl,-export-dynamic -L${LOCALBASE}/lib -ljpeg -lgcc -lstdc++" USE_GMAKE= yes diff --git a/x11-clocks/kdetoys4/Makefile b/x11-clocks/kdetoys4/Makefile index 4a5fca050001..ed7dfbd8a059 100644 --- a/x11-clocks/kdetoys4/Makefile +++ b/x11-clocks/kdetoys4/Makefile @@ -24,7 +24,7 @@ CONFIGURE_ARGS+=--with-qt-dir=${X11BASE} \ --with-qt-libraries=${X11BASE}/lib \ --with-extra-libs=${LOCALBASE}/lib CONFIGURE_ENV+= LIBQT="-lqt2" MOC="${MOC}" DO_NOT_COMPILE=mouse LIBQTFILE="libqt2" \ - CPPFLAGS="-I${LOCALBASE}/include" \ + CPPFLAGS="-I${LOCALBASE}/include -D_GETOPT_H" \ LIBS="-Wl,-export-dynamic -L${LOCALBASE}/lib -ljpeg -lgcc -lstdc++" USE_GMAKE= yes -- cgit