aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-10-14 16:49:35 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-10-14 16:49:35 +0000
commit869e1f27d0cd912f612cd1af8dd5491749901f80 (patch)
tree253c001da30db94087f88bf237955915bfb0f012 /Mk/bsd.port.mk
parent41d6fa567f5fdfc4017313246f4332af3ad716ef (diff)
downloadports-869e1f27d0cd912f612cd1af8dd5491749901f80.tar.gz
ports-869e1f27d0cd912f612cd1af8dd5491749901f80.zip
Notes
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk52
1 files changed, 26 insertions, 26 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 152e2dbae38c..a0bb8c89df60 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1565,7 +1565,7 @@ CO_ENV+= STAGEDIR=${STAGEDIR} \
PORTSDIR="${PORTSDIR}"
.if defined(X_BUILD_FOR)
-BUILD_DEPENDS+= ${X_BUILD_FOR}-cc:${PORTSDIR}/devel/${X_BUILD_FOR}-xdev
+BUILD_DEPENDS+= ${X_BUILD_FOR}-cc:devel/${X_BUILD_FOR}-xdev
PKG_ENV+= ABI_FILE=${X_SYSROOT}/usr/lib/crt1.o
MAKE_ENV+= NM=${NM} \
STRIPBIN=${X_BUILD_FOR}-strip \
@@ -1659,7 +1659,7 @@ CONFIGURE_ENV+= SHELL=${CONFIGURE_SHELL} CONFIG_SHELL=${CONFIGURE_SHELL}
MAKE_ENV+= SHELL=${MAKE_SHELL} NO_LINT=YES
.if defined(PATCHFILES) && ${PATCHFILES:M*.zip}
-PATCH_DEPENDS+= ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip
+PATCH_DEPENDS+= ${LOCALBASE}/bin/unzip:archivers/unzip
.endif
# Check the compatibility layer for amd64/ia64
@@ -1699,7 +1699,7 @@ PKG_ORIGIN= ports-mgmt/pkg-devel
.endif
.if !defined(PKG_DEPENDS) && !defined(CLEAN_FETCH_ENV)
-PKG_DEPENDS+= ${LOCALBASE}/sbin/pkg:${PORTSDIR}/${PKG_ORIGIN}
+PKG_DEPENDS+= ${LOCALBASE}/sbin/pkg:${PKG_ORIGIN}
.endif
.if defined(USE_GCC)
@@ -1707,7 +1707,7 @@ PKG_DEPENDS+= ${LOCALBASE}/sbin/pkg:${PORTSDIR}/${PKG_ORIGIN}
.endif
.if defined(USE_BINUTILS) && !defined(DISABLE_BINUTILS)
-BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
+BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils
BINUTILS?= ADDR2LINE AR AS CPPFILT GPROF LD NM OBJCOPY OBJDUMP RANLIB \
READELF SIZE STRINGS
BINUTILS_NO_MAKE_ENV?=
@@ -1774,13 +1774,13 @@ USE_LINUX= ${OVERRIDE_LINUX_BASE_PORT}
# don't forget to update the Handbook!
. if exists(${PORTSDIR}/emulators/linux_base-${USE_LINUX})
-LINUX_BASE_PORT= ${LINUXBASE}/bin/sh:${PORTSDIR}/emulators/linux_base-${USE_LINUX}
+LINUX_BASE_PORT= ${LINUXBASE}/bin/sh:emulators/linux_base-${USE_LINUX}
. else
. if ${USE_LINUX:tl} == "yes"
USE_LINUX= c6
-LINUX_BASE_PORT= ${LINUXBASE}/etc/redhat-release:${PORTSDIR}/emulators/linux_base-c6
+LINUX_BASE_PORT= ${LINUXBASE}/etc/redhat-release:emulators/linux_base-c6
. elif ${USE_LINUX} == "c6_64"
-LINUX_BASE_PORT= ${LINUXBASE}/etc/redhat-release:${PORTSDIR}/emulators/linux_base-c6
+LINUX_BASE_PORT= ${LINUXBASE}/etc/redhat-release:emulators/linux_base-c6
. else
IGNORE= cannot be built: there is no emulators/linux_base-${USE_LINUX}, perhaps wrong use of USE_LINUX or OVERRIDE_LINUX_BASE_PORT
. endif
@@ -1804,19 +1804,19 @@ RUN_DEPENDS+= ${LINUX_BASE_PORT}
PKG_IGNORE_DEPENDS?= 'this_port_does_not_exist'
-_GL_gbm_LIB_DEPENDS= libgbm.so:${PORTSDIR}/graphics/gbm
-_GL_glesv2_BUILD_DEPENDS= libglesv2>0:${PORTSDIR}/graphics/libglesv2
-_GL_glesv2_RUN_DEPENDS= libglesv2>0:${PORTSDIR}/graphics/libglesv2
-_GL_egl_BUILD_DEPENDS= libEGL>0:${PORTSDIR}/graphics/libEGL
-_GL_egl_RUN_DEPENDS= libEGL>0:${PORTSDIR}/graphics/libEGL
-_GL_gl_BUILD_DEPENDS= libGL>0:${PORTSDIR}/graphics/libGL
-_GL_gl_RUN_DEPENDS= libGL>0:${PORTSDIR}/graphics/libGL
+_GL_gbm_LIB_DEPENDS= libgbm.so:graphics/gbm
+_GL_glesv2_BUILD_DEPENDS= libglesv2>0:graphics/libglesv2
+_GL_glesv2_RUN_DEPENDS= libglesv2>0:graphics/libglesv2
+_GL_egl_BUILD_DEPENDS= libEGL>0:graphics/libEGL
+_GL_egl_RUN_DEPENDS= libEGL>0:graphics/libEGL
+_GL_gl_BUILD_DEPENDS= libGL>0:graphics/libGL
+_GL_gl_RUN_DEPENDS= libGL>0:graphics/libGL
_GL_gl_USE_XORG= glproto dri2proto
-_GL_glew_LIB_DEPENDS= libGLEW.so:${PORTSDIR}/graphics/glew
-_GL_glu_LIB_DEPENDS= libGLU.so:${PORTSDIR}/graphics/libGLU
+_GL_glew_LIB_DEPENDS= libGLEW.so:graphics/glew
+_GL_glu_LIB_DEPENDS= libGLU.so:graphics/libGLU
_GL_glu_USE_XORG= glproto dri2proto
-_GL_glw_LIB_DEPENDS= libGLw.so:${PORTSDIR}/graphics/libGLw
-_GL_glut_LIB_DEPENDS= libglut.so:${PORTSDIR}/graphics/freeglut
+_GL_glw_LIB_DEPENDS= libGLw.so:graphics/libGLw
+_GL_glut_LIB_DEPENDS= libglut.so:graphics/freeglut
.if defined(USE_GL)
. if ${USE_GL:tl} == "yes"
@@ -2688,7 +2688,7 @@ INFO_PATH?= info
.endif
.if defined(INFO)
-RUN_DEPENDS+= indexinfo:${PORTSDIR}/print/indexinfo
+RUN_DEPENDS+= indexinfo:print/indexinfo
. for D in ${INFO:H}
RD:= ${D}
@@ -4439,7 +4439,7 @@ fetch-recursive-list:
# Used by fetch-required and fetch-required list, this script looks
# at each of the dependencies. If 3 items are specified in the tuple,
-# such as foo:${PORTSDIR}/graphics/foo:extract, the first item (foo)
+# such as foo:graphics/foo:extract, the first item (foo)
# is examined. Only if it begins with a / and does not exist on the
# file-system will ``make targ'' proceed.
# For more usual (dual-item) dependency tuples, the ``make targ''
@@ -4721,12 +4721,12 @@ missing-packages:
# first to avoid gratuitous breakage.
. if !target(describe)
-_EXTRACT_DEPENDS=${EXTRACT_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u}
-_PATCH_DEPENDS=${PATCH_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u}
-_FETCH_DEPENDS=${FETCH_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u}
-_LIB_DEPENDS=${LIB_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u}
-_BUILD_DEPENDS=${BUILD_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u} ${_LIB_DEPENDS}
-_RUN_DEPENDS=${RUN_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u} ${_LIB_DEPENDS}
+_EXTRACT_DEPENDS=${EXTRACT_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u:C,(^[^/]),${PORTSDIR}/\1,}
+_PATCH_DEPENDS=${PATCH_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u:C,(^[^/]),${PORTSDIR}/\1,}
+_FETCH_DEPENDS=${FETCH_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u:C,(^[^/]),${PORTSDIR}/\1,}
+_LIB_DEPENDS=${LIB_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u:C,(^[^/]),${PORTSDIR}/\1,}
+_BUILD_DEPENDS=${BUILD_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u:C,(^[^/]),${PORTSDIR}/\1,} ${_LIB_DEPENDS}
+_RUN_DEPENDS=${RUN_DEPENDS:C/^[^ :]+:([^ :]+)(:[^ :]+)?/\1/:O:u:C,(^[^/]),${PORTSDIR}/\1,} ${_LIB_DEPENDS}
. if exists(${DESCR})
_DESCR=${DESCR}
. else