aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-04-30 14:30:00 +0800
committerdinoex <dinoex@FreeBSD.org>2004-04-30 14:30:00 +0800
commit5fd1330c9e6498ecdb897c978d413468f2682690 (patch)
tree2d5cb15a74744a16cbb1b33d0daf60404710b957 /devel
parent9be09ed6259b400b9d30f6d946e5f43acd609868 (diff)
downloadfreebsd-ports-graphics-5fd1330c9e6498ecdb897c978d413468f2682690.tar.gz
freebsd-ports-graphics-5fd1330c9e6498ecdb897c978d413468f2682690.tar.zst
freebsd-ports-graphics-5fd1330c9e6498ecdb897c978d413468f2682690.zip
- support for GNUSTEP_WITH_BASE_GCC
Approved by: (implicit by knu)
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-gnustep/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/devel/ruby-gnustep/Makefile b/devel/ruby-gnustep/Makefile
index b2b65e0c7fe..829d73795cf 100644
--- a/devel/ruby-gnustep/Makefile
+++ b/devel/ruby-gnustep/Makefile
@@ -23,11 +23,17 @@ BUILD_DEPENDS= ${GNUSTEP_PREFIX}/System/Makefiles/GNUstep.sh:${PORTSDIR}/${GNUST
${COMBOLIBDIR}/libgnustep-base.so:${PORTSDIR}/${GNUSTEP_BASE_PORT} \
${COMBOLIBDIR}/libgnustep-gui.so:${PORTSDIR}/${GNUSTEP_GUI_PORT} \
${BACKBUNDLEDIR}/libgnustep-back:${PORTSDIR}/${GNUSTEP_BACK_PORT}
-LIB_DEPENDS+= objc:${PORTSDIR}/${GNUSTEP_OBJC_PORT}
RUN_DEPENDS= ${GNUSTEP_PREFIX}/System/Makefiles/GNUstep.sh:${PORTSDIR}/${GNUSTEP_MAKE_PORT} \
${COMBOLIBDIR}/libgnustep-base.so:${PORTSDIR}/${GNUSTEP_BASE_PORT} \
${COMBOLIBDIR}/libgnustep-gui.so:${PORTSDIR}/${GNUSTEP_GUI_PORT} \
${BACKBUNDLEDIR}/libgnustep-back:${PORTSDIR}/${GNUSTEP_BACK_PORT}
+.if !defined(GNUSTEP_WITH_BASE_GCC)
+BUILD_DEPENDS+= ${TARGLIB}/libobjc.so:${PORTSDIR}/${GNUSTEP_GCC_PORT}
+RUN_DEPENDS+= ${TARGLIB}/libobjc.so:${PORTSDIR}/${GNUSTEP_GCC_PORT}
+.else
+BUILD_DEPENDS+= ${COMBOLIBDIR}/libobjc.so:${PORTSDIR}/${GNUSTEP_OBJC_PORT}
+RUN_DEPENDS+= ${COMBOLIBDIR}/libobjc.so:${PORTSDIR}/${GNUSTEP_OBJC_PORT}
+.endif
USE_RUBY= yes
RUBY_WITH_PTHREAD= yes
@@ -35,6 +41,7 @@ USE_GMAKE= yes
CC= gcc32
CXX= g++32
+GNUSTEP_GCC_PORT?= lang/gcc-objc
GNUSTEP_OBJC_PORT?= lang/gnustep-objc
GNUSTEP_MAKE_PORT?= devel/gnustep-make
GNUSTEP_BASE_PORT?= lang/gnustep-base
@@ -91,4 +98,8 @@ post-install:
.endfor
.endif
+.if !defined(GNUSTEP_WITH_BASE_GCC)
+TARGLIB!= (cd ${PORTSDIR}/${GNUSTEP_GCC_PORT} && make -V TARGLIB)
+.endif
+
.include <bsd.port.post.mk>