aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2006-01-29 15:31:51 +0800
committerdinoex <dinoex@FreeBSD.org>2006-01-29 15:31:51 +0800
commit54c5a0b0f9a6ef2fdee283755ac4e8dc841506b1 (patch)
tree018b72d224474f2a9a84c210200614dfcf44a89d
parentc7bdeb5df396ad2dfbf7da241838e05157a245c9 (diff)
downloadfreebsd-ports-gnome-54c5a0b0f9a6ef2fdee283755ac4e8dc841506b1.tar.gz
freebsd-ports-gnome-54c5a0b0f9a6ef2fdee283755ac4e8dc841506b1.tar.zst
freebsd-ports-gnome-54c5a0b0f9a6ef2fdee283755ac4e8dc841506b1.zip
- support multiple backends as dependecies
some internal macros renamed
-rw-r--r--Mk/bsd.gnustep.mk24
1 files changed, 12 insertions, 12 deletions
diff --git a/Mk/bsd.gnustep.mk b/Mk/bsd.gnustep.mk
index 474ff5a214f5..b0a452fd1a9e 100644
--- a/Mk/bsd.gnustep.mk
+++ b/Mk/bsd.gnustep.mk
@@ -189,10 +189,10 @@ USE_GNUSTEP_XLIB=yes
# Backend using xlib
#
.if defined(USE_GNUSTEP_XLIB)
-BUILD_DEPENDS+= ${BACKBUNDLEDIR}/libgnustep-back${BACKSUFFIX}:${PORTSDIR}/${GNUSTEP_BACK_PORT}
-RUN_DEPENDS+= ${BACKBUNDLEDIR}/libgnustep-back${BACKSUFFIX}:${PORTSDIR}/${GNUSTEP_BACK_PORT}
+BUILD_DEPENDS+= ${BUNDLEDIR}/${BACKXLIB}.bundle/${BACKXLIB}:${PORTSDIR}/${GNUSTEP_BACK_PORT}
+RUN_DEPENDS+= ${BUNDLEDIR}/${BACKXLIB}.bundle/${BACKXLIB}:${PORTSDIR}/${GNUSTEP_BACK_PORT}
-BACKBUNDLEDIR= ${BUNDLEDIR}/libgnustep-back${BACKSUFFIX}.bundle
+BACKXLIB= libgnustep-back${BACKSUFFIX}
MAKE_FLAGS+= GUI_BACKEND_LIB=back
.endif
@@ -200,10 +200,10 @@ MAKE_FLAGS+= GUI_BACKEND_LIB=back
# Backend using xdps
#
.if defined(USE_GNUSTEP_XDPS)
-BUILD_DEPENDS+= ${BACKBUNDLEDIR}/libgnustep-xdps${BACKSUFFIX}:${PORTSDIR}/${GNUSTEP_XDPS_PORT}
-RUN_DEPENDS+= ${BACKBUNDLEDIR}/libgnustep-xdps${BACKSUFFIX}:${PORTSDIR}/${GNUSTEP_XDPS_PORT}
+BUILD_DEPENDS+= ${BUNDLEDIR}/${BACKXDPS}.bundle/${BACKXDPS}:${PORTSDIR}/${GNUSTEP_XDPS_PORT}
+RUN_DEPENDS+= ${BUNDLEDIR}/${BACKXDPS}.bundle/${BACKXDPS}:${PORTSDIR}/${GNUSTEP_XDPS_PORT}
-BACKBUNDLEDIR= ${BUNDLEDIR}/libgnustep-xdps${BACKSUFFIX}.bundle
+BACKXDPS= libgnustep-xdps${BACKSUFFIX}
MAKE_FLAGS+= GUI_BACKEND_LIB=xdps
.endif
@@ -211,10 +211,10 @@ MAKE_FLAGS+= GUI_BACKEND_LIB=xdps
# Backend using libart
#
.if defined(USE_GNUSTEP_LIBART)
-BUILD_DEPENDS+= ${BACKBUNDLEDIR}/libgnustep-art${BACKSUFFIX}:${PORTSDIR}/${GNUSTEP_ART_PORT}
-RUN_DEPENDS+= ${BACKBUNDLEDIR}/libgnustep-art${BACKSUFFIX}:${PORTSDIR}/${GNUSTEP_ART_PORT}
+BUILD_DEPENDS+= ${BUNDLEDIR}/${BACKART}.bundle/${BACKART}:${PORTSDIR}/${GNUSTEP_ART_PORT}
+RUN_DEPENDS+= ${BUNDLEDIR}/${BACKART}.bundle/${BACKART}:${PORTSDIR}/${GNUSTEP_ART_PORT}
-BACKBUNDLEDIR= ${BUNDLEDIR}/libgnustep-art${BACKSUFFIX}.bundle
+BACKART= libgnustep-art${BACKSUFFIX}
MAKE_FLAGS+= GUI_BACKEND_LIB=art
.endif
@@ -222,10 +222,10 @@ MAKE_FLAGS+= GUI_BACKEND_LIB=art
# Backend using cairo
#
.if defined(USE_GNUSTEP_CAIRO)
-BUILD_DEPENDS+= ${BACKBUNDLEDIR}/libgnustep-cairo${BACKSUFFIX}:${PORTSDIR}/${GNUSTEP_CAIRO_PORT}
-RUN_DEPENDS+= ${BACKBUNDLEDIR}/libgnustep-cairo${BACKSUFFIX}:${PORTSDIR}/${GNUSTEP_CAIRO_PORT}
+BUILD_DEPENDS+= ${BUNDLEDIR}/${BACKCAIRO}.bundle/${BACKCAIRO}:${PORTSDIR}/${GNUSTEP_CAIRO_PORT}
+RUN_DEPENDS+= ${BUNDLEDIR}/${BACKCAIRO}.bundle/${BACKCAIRO}:${PORTSDIR}/${GNUSTEP_CAIRO_PORT}
-BACKBUNDLEDIR= ${BUNDLEDIR}/libgnustep-cairo${BACKSUFFIX}.bundle
+BACKCAIRO= libgnustep-cairo${BACKSUFFIX}
MAKE_FLAGS+= GUI_BACKEND_LIB=cairo
.endif