aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2004-05-22 19:08:35 +0800
committerlofi <lofi@FreeBSD.org>2004-05-22 19:08:35 +0800
commit77508f6883b7395bfe8e679c6a17f38cc39afa07 (patch)
tree97ab612bfe5ab4bd2080cf5c15fe98b218572b8e /Mk
parent6b2a2a0808a04264480c281a771151d8956badcd (diff)
downloadfreebsd-ports-graphics-77508f6883b7395bfe8e679c6a17f38cc39afa07.tar.gz
freebsd-ports-graphics-77508f6883b7395bfe8e679c6a17f38cc39afa07.tar.zst
freebsd-ports-graphics-77508f6883b7395bfe8e679c6a17f38cc39afa07.zip
Move another helpful bit from Makefile.kde to bsd.kde.mk:
Unless _NO_KDE_CONFTARGET_HACK is set, users of bsd.kde.mk will automatically have CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} set. This is necessary for almost every package using a configure script created with non-historic versions of autoconf and really should be handled in bsd.port.mk.
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.kde.mk6
-rw-r--r--Mk/bsd.kde4.mk6
2 files changed, 12 insertions, 0 deletions
diff --git a/Mk/bsd.kde.mk b/Mk/bsd.kde.mk
index 488ca76d257..93552a72d46 100644
--- a/Mk/bsd.kde.mk
+++ b/Mk/bsd.kde.mk
@@ -164,6 +164,12 @@ CONFIGURE_ENV+= MOC="${MOC}" LIBQT="-l${QTNAME}" \
# End of USE_QT_VER section
+# XXX - This really belongs into bsd.port.mk
+.if !defined(_NO_KDE_CONFTARGET_HACK)
+CONFIGURE_TARGET=
+CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+.endif
+
# Assemble plist from parts
# <alane@freebsd.org> 2002-12-06
.if defined(KDE_BUILD_PLIST)
diff --git a/Mk/bsd.kde4.mk b/Mk/bsd.kde4.mk
index 488ca76d257..93552a72d46 100644
--- a/Mk/bsd.kde4.mk
+++ b/Mk/bsd.kde4.mk
@@ -164,6 +164,12 @@ CONFIGURE_ENV+= MOC="${MOC}" LIBQT="-l${QTNAME}" \
# End of USE_QT_VER section
+# XXX - This really belongs into bsd.port.mk
+.if !defined(_NO_KDE_CONFTARGET_HACK)
+CONFIGURE_TARGET=
+CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+.endif
+
# Assemble plist from parts
# <alane@freebsd.org> 2002-12-06
.if defined(KDE_BUILD_PLIST)