bsd.gnustep.mk: gnustep-objc

Andriy Gapon avg at icyb.net.ua
Thu Dec 3 16:59:39 UTC 2009


I have a question about the following piece of code in bsd.gnustep.mk:

.if !defined(GNUSTEP_WITHOUT_LIBOBJC)
.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+=
${GNUSTEP_SYSTEM_LIBRARIES}/libobjc.so:${PORTSDIR}/${GNUSTEP_OBJC_PORT}
RUN_DEPENDS+=
${GNUSTEP_SYSTEM_LIBRARIES}/libobjc.so:${PORTSDIR}/${GNUSTEP_OBJC_PORT}
.endif
.endif


What is the purpose of installing libobjc.so from gnustep-objc in the case when
GNUSTEP_WITH_BASE_GCC is defined?
Is /usr/lib/libobjc.so somehow not suitable?
Esp. given that all stable and "old-stable" versions of FreeBSD have GCC 4.2.
Am I missing something?

-- 
Andriy Gapon


More information about the freebsd-ports mailing list