summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-03-05 12:17:08 +0000
committerwill <will@FreeBSD.org>2001-03-05 12:17:08 +0000
commit37b062ed62665ace31e4373b458cc75681213764 (patch)
treeb8f38166d53aef4457fc65f9d36d8ee0e550e5ce /security
parenta60ff5681296acc284a5fdc038a18ac26c9daef4 (diff)
downloadFreeBSD-ports-37b062ed62665ace31e4373b458cc75681213764.zip
FreeBSD-ports-37b062ed62665ace31e4373b458cc75681213764.tar.gz
Attempt to fix conflicts with a local getopt.h (specifically, the fix is
for libgnugetopt's getopt.h). Not tested, but should work.
Diffstat (limited to 'security')
-rw-r--r--security/kgpg-kde4/Makefile2
-rw-r--r--security/kwallet/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/security/kgpg-kde4/Makefile b/security/kgpg-kde4/Makefile
index 6387bd1..1833fce 100644
--- a/security/kgpg-kde4/Makefile
+++ b/security/kgpg-kde4/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
diff --git a/security/kwallet/Makefile b/security/kwallet/Makefile
index 6387bd1..1833fce 100644
--- a/security/kwallet/Makefile
+++ b/security/kwallet/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