Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (23 sloc) 0.935 kb
# $NetBSD: common.mk,v 1.2 2009/04/18 03:43:46 rh Exp $
#
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= objc
WRKSRC= ${WRKDIR}/libfoundation
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= no
MAKE_ENV+= ADDITIONAL_OBJCFLAGS="-I${WRKSRC} -I."
MAKE_ENV+= FOUNDATION_LIB="fd"
MAKE_ENV+= INSTALL_DATA=${INSTALL_DATA:Q}
LIBF_HOST_OS= ${GNUSTEP_HOST:C/.*-//}
FIX_GNUSTEP_INSTALLATION_DIR= yes
.include "../../devel/gnustep-make/gnustep.mk"
PLIST_SUBST+= GNUSTEP_HOST_CPU=${GNUSTEP_HOST_CPU:Q}
PLIST_SUBST+= LIBF_HOST_OS=${LIBF_HOST_OS}
pre-configure:
${MKDIR} ${WRKSRC}/config/${MACHINE_GNU_ARCH}
[ -e ${WRKSRC}/config/${MACHINE_GNU_ARCH}/${GNUSTEP_HOST_OS}.h ] || \
${LN} -s linux.h ${WRKSRC}/config/${MACHINE_GNU_ARCH}/${GNUSTEP_HOST_OS}.h
.if ${GNUSTEP_HOST_OS} != ${LIBF_HOST_OS}
[ -e ${WRKSRC}/config/${MACHINE_GNU_ARCH}/${LIBF_HOST_OS}.h ] || \
${LN} -s linux.h ${WRKSRC}/config/${MACHINE_GNU_ARCH}/${LIBF_HOST_OS}.h
.endif
Jump to Line
Something went wrong with that request. Please try again.