aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2006-01-22 07:59:09 +0800
committerlinimon <linimon@FreeBSD.org>2006-01-22 07:59:09 +0800
commitafba2df310b402b558c7cd314d1764edd0b78eff (patch)
tree65bd441df8ea1eb58bb78d2e4faa48253992ca19
parentfa04c2c9e35dd54aa626bd55eab6f7f08271d947 (diff)
downloadfreebsd-ports-gnome-afba2df310b402b558c7cd314d1764edd0b78eff.tar.gz
freebsd-ports-gnome-afba2df310b402b558c7cd314d1764edd0b78eff.tar.zst
freebsd-ports-gnome-afba2df310b402b558c7cd314d1764edd0b78eff.zip
Bring this up to date with respect to the master copy.
-rw-r--r--devel/portmk/Mk/bsd.port.mk57
-rw-r--r--ports-mgmt/portmk/Mk/bsd.port.mk57
2 files changed, 60 insertions, 54 deletions
diff --git a/devel/portmk/Mk/bsd.port.mk b/devel/portmk/Mk/bsd.port.mk
index cdb65fe66683..edcf013da9f8 100644
--- a/devel/portmk/Mk/bsd.port.mk
+++ b/devel/portmk/Mk/bsd.port.mk
@@ -1346,9 +1346,8 @@ PERL= ${LOCALBASE}/bin/perl
.if defined(USE_LOCAL_MK)
.if exists(${DEVELPORTSDIR}/Mk/bsd.local.mk)
.include "${DEVELPORTSDIR}/Mk/bsd.local.mk"
-# not yet:
-#.else
-#.include "${PORTSDIR}/Mk/bsd.local.mk"
+.else
+.include "${PORTSDIR}/Mk/bsd.local.mk"
.endif
.endif
@@ -1575,15 +1574,6 @@ MAKE_ENV+= CC="${CC}" CXX="${CXX}"
USE_REINPLACE= yes
.endif
-.if defined(USE_LOCAL_MK)
-.if exists(${DEVELPORTSDIR}/Mk/bsd.local.mk)
-.include "${DEVELPORTSDIR}/Mk/bsd.local.mk"
-# not yet:
-#.else
-#.include "${PORTSDIR}/Mk/bsd.local.mk"
-.endif
-.endif
-
.if defined(USE_GCC)
.if exists(${DEVELPORTSDIR}/Mk/bsd.gcc.mk)
.include "${DEVELPORTSDIR}/Mk/bsd.gcc.mk"
@@ -1869,6 +1859,14 @@ RUN_DEPENDS+= ${PERL5}:${PORTSDIR}/lang/${PERL_PORT}
.endif
.endif
+.if defined(USE_LOCAL_MK)
+.if exists(${DEVELPORTSDIR}/Mk/bsd.local.mk)
+.include "${DEVELPORTSDIR}/Mk/bsd.local.mk"
+.else
+.include "${PORTSDIR}/Mk/bsd.local.mk"
+.endif
+.endif
+
.if defined(USE_MYSQL) || defined(WANT_MYSQL_VER) || \
defined(USE_PGSQL) || defined(WANT_PGSQL_VER) || \
defined(USE_BDB) || defined(USE_SQLITE)
@@ -1879,14 +1877,6 @@ RUN_DEPENDS+= ${PERL5}:${PORTSDIR}/lang/${PERL_PORT}
.endif
.endif
-.if defined(WANT_GNOME) || defined(USE_GNOME) || defined(USE_GTK)
-.if exists(${DEVELPORTSDIR}/Mk/bsd.gnome.mk)
-.include "${DEVELPORTSDIR}/Mk/bsd.gnome.mk"
-.else
-.include "${PORTSDIR}/Mk/bsd.gnome.mk"
-.endif
-.endif
-
.if defined(WANT_GSTREAMER) || defined(USE_GSTREAMER)
.if exists(${DEVELPORTSDIR}/Mk/bsd.gstreamer.mk)
.include "${DEVELPORTSDIR}/Mk/bsd.gstreamer.mk"
@@ -1895,6 +1885,14 @@ RUN_DEPENDS+= ${PERL5}:${PORTSDIR}/lang/${PERL_PORT}
.endif
.endif
+.if defined(USE_LINUX_RPM)
+.if exists(${DEVELPORTSDIR}/Mk/bsd.linux-rpm.mk)
+.include "${DEVELPORTSDIR}/Mk/bsd.linux-rpm.mk"
+.else
+.include "${PORTSDIR}/Mk/bsd.linux-rpm.mk"
+.endif
+.endif
+
.if defined(USE_SDL) || defined(WANT_SDL)
.if exists(${DEVELPORTSDIR}/Mk/bsd.sdl.mk)
.include "${DEVELPORTSDIR}/Mk/bsd.sdl.mk"
@@ -1927,17 +1925,18 @@ RUN_DEPENDS+= ${PERL5}:${PORTSDIR}/lang/${PERL_PORT}
.endif
.endif
-# XXX: (not yet): .if defined(USE_AUTOTOOLS)
.if exists(${DEVELPORTSDIR}/Mk/bsd.autotools.mk)
.include "${DEVELPORTSDIR}/Mk/bsd.autotools.mk"
.else
.include "${PORTSDIR}/Mk/bsd.autotools.mk"
.endif
-# XXX: (not yet): .endif
-
-.if defined(USE_LINUX_RPM)
-.include "${PORTSDIR}/Mk/bsd.linux-rpm.mk"
+.if defined(WANT_GNOME) || defined(USE_GNOME) || defined(USE_GTK)
+.if exists(${DEVELPORTSDIR}/Mk/bsd.gnome.mk)
+.include "${DEVELPORTSDIR}/Mk/bsd.gnome.mk"
+.else
+.include "${PORTSDIR}/Mk/bsd.gnome.mk"
+.endif
.endif
.if exists(${PORTSDIR}/../Makefile.inc)
@@ -2125,8 +2124,6 @@ EXTRACT_CMD?= ${GZIP_CMD}
# uses X
.if ${X_WINDOW_SYSTEM:L} == xfree86-3
MTREE_FILE= /etc/mtree/BSD.x11.dist
-.elif ${X_WINDOW_SYSTEM:L} == xorg
-MTREE_FILE= ${PORTSDIR}/x11-servers/xorg-server/files/BSD.x11-xorg.dist
.else
MTREE_FILE= /etc/mtree/BSD.x11-4.dist
.endif
@@ -3418,6 +3415,12 @@ do-patch:
fi
.endif
+# XXX - To be tested later
+#.if !target(run-autotools) && !defined(USE_AUTOTOOLS)
+#run-autotools:
+# ${DO_NADA}
+#.endif
+
# Configure
.if !target(do-configure)
diff --git a/ports-mgmt/portmk/Mk/bsd.port.mk b/ports-mgmt/portmk/Mk/bsd.port.mk
index cdb65fe66683..edcf013da9f8 100644
--- a/ports-mgmt/portmk/Mk/bsd.port.mk
+++ b/ports-mgmt/portmk/Mk/bsd.port.mk
@@ -1346,9 +1346,8 @@ PERL= ${LOCALBASE}/bin/perl
.if defined(USE_LOCAL_MK)
.if exists(${DEVELPORTSDIR}/Mk/bsd.local.mk)
.include "${DEVELPORTSDIR}/Mk/bsd.local.mk"
-# not yet:
-#.else
-#.include "${PORTSDIR}/Mk/bsd.local.mk"
+.else
+.include "${PORTSDIR}/Mk/bsd.local.mk"
.endif
.endif
@@ -1575,15 +1574,6 @@ MAKE_ENV+= CC="${CC}" CXX="${CXX}"
USE_REINPLACE= yes
.endif
-.if defined(USE_LOCAL_MK)
-.if exists(${DEVELPORTSDIR}/Mk/bsd.local.mk)
-.include "${DEVELPORTSDIR}/Mk/bsd.local.mk"
-# not yet:
-#.else
-#.include "${PORTSDIR}/Mk/bsd.local.mk"
-.endif
-.endif
-
.if defined(USE_GCC)
.if exists(${DEVELPORTSDIR}/Mk/bsd.gcc.mk)
.include "${DEVELPORTSDIR}/Mk/bsd.gcc.mk"
@@ -1869,6 +1859,14 @@ RUN_DEPENDS+= ${PERL5}:${PORTSDIR}/lang/${PERL_PORT}
.endif
.endif
+.if defined(USE_LOCAL_MK)
+.if exists(${DEVELPORTSDIR}/Mk/bsd.local.mk)
+.include "${DEVELPORTSDIR}/Mk/bsd.local.mk"
+.else
+.include "${PORTSDIR}/Mk/bsd.local.mk"
+.endif
+.endif
+
.if defined(USE_MYSQL) || defined(WANT_MYSQL_VER) || \
defined(USE_PGSQL) || defined(WANT_PGSQL_VER) || \
defined(USE_BDB) || defined(USE_SQLITE)
@@ -1879,14 +1877,6 @@ RUN_DEPENDS+= ${PERL5}:${PORTSDIR}/lang/${PERL_PORT}
.endif
.endif
-.if defined(WANT_GNOME) || defined(USE_GNOME) || defined(USE_GTK)
-.if exists(${DEVELPORTSDIR}/Mk/bsd.gnome.mk)
-.include "${DEVELPORTSDIR}/Mk/bsd.gnome.mk"
-.else
-.include "${PORTSDIR}/Mk/bsd.gnome.mk"
-.endif
-.endif
-
.if defined(WANT_GSTREAMER) || defined(USE_GSTREAMER)
.if exists(${DEVELPORTSDIR}/Mk/bsd.gstreamer.mk)
.include "${DEVELPORTSDIR}/Mk/bsd.gstreamer.mk"
@@ -1895,6 +1885,14 @@ RUN_DEPENDS+= ${PERL5}:${PORTSDIR}/lang/${PERL_PORT}
.endif
.endif
+.if defined(USE_LINUX_RPM)
+.if exists(${DEVELPORTSDIR}/Mk/bsd.linux-rpm.mk)
+.include "${DEVELPORTSDIR}/Mk/bsd.linux-rpm.mk"
+.else
+.include "${PORTSDIR}/Mk/bsd.linux-rpm.mk"
+.endif
+.endif
+
.if defined(USE_SDL) || defined(WANT_SDL)
.if exists(${DEVELPORTSDIR}/Mk/bsd.sdl.mk)
.include "${DEVELPORTSDIR}/Mk/bsd.sdl.mk"
@@ -1927,17 +1925,18 @@ RUN_DEPENDS+= ${PERL5}:${PORTSDIR}/lang/${PERL_PORT}
.endif
.endif
-# XXX: (not yet): .if defined(USE_AUTOTOOLS)
.if exists(${DEVELPORTSDIR}/Mk/bsd.autotools.mk)
.include "${DEVELPORTSDIR}/Mk/bsd.autotools.mk"
.else
.include "${PORTSDIR}/Mk/bsd.autotools.mk"
.endif
-# XXX: (not yet): .endif
-
-.if defined(USE_LINUX_RPM)
-.include "${PORTSDIR}/Mk/bsd.linux-rpm.mk"
+.if defined(WANT_GNOME) || defined(USE_GNOME) || defined(USE_GTK)
+.if exists(${DEVELPORTSDIR}/Mk/bsd.gnome.mk)
+.include "${DEVELPORTSDIR}/Mk/bsd.gnome.mk"
+.else
+.include "${PORTSDIR}/Mk/bsd.gnome.mk"
+.endif
.endif
.if exists(${PORTSDIR}/../Makefile.inc)
@@ -2125,8 +2124,6 @@ EXTRACT_CMD?= ${GZIP_CMD}
# uses X
.if ${X_WINDOW_SYSTEM:L} == xfree86-3
MTREE_FILE= /etc/mtree/BSD.x11.dist
-.elif ${X_WINDOW_SYSTEM:L} == xorg
-MTREE_FILE= ${PORTSDIR}/x11-servers/xorg-server/files/BSD.x11-xorg.dist
.else
MTREE_FILE= /etc/mtree/BSD.x11-4.dist
.endif
@@ -3418,6 +3415,12 @@ do-patch:
fi
.endif
+# XXX - To be tested later
+#.if !target(run-autotools) && !defined(USE_AUTOTOOLS)
+#run-autotools:
+# ${DO_NADA}
+#.endif
+
# Configure
.if !target(do-configure)