Changes since 3.2.6: 3.2.10 * add patch Finn Wilcox finnw ocstring cannot concat: or at:insert: itself - ID: 1640788 * port to OpenSolaris 09/06 with Sun C 5.10 SunOS_i386 2009/06/03 * updated email address in indent-patch 3.2.9 * add OpenSolaris (solaris 2.11) to Platforms * change __builtin_va_alist to builtinvar for OpenSolaris 3.2.8 * add __builtin_expect, __builtin_strchr and more garbage for gcc 3.4.6 __builtin_cmp (GCC developers seem to believe they're using PASCAL) * regenerated configure with autoconf 2.6 * upgraded config.guess and config.sub to automake 1.9 * add NIOS2 sopc to platforms (port by lionnel@ipricot.com) * rebuilt bootstrap package * upgraded nm objc1 | postlink >util/_objc1.c 3.2.7 * fix for -builtintype and -builtinfunction broken (pragma OCbuiltInFctn and OCbuiltInType still worked) * port to IA-64 hpux 11.23 with HP aC++/ANSI C (add to platforms) * add -hpux flag with some builtins: __va_list__, __va_arg__, __va_start__, __fpreg and __float80
62 lines
1.7 KiB
Makefile
62 lines
1.7 KiB
Makefile
# $NetBSD: Makefile,v 1.15 2012/05/24 09:14:58 asau Exp $
|
|
|
|
DISTNAME= objc-3.2.10
|
|
CATEGORIES= lang
|
|
MASTER_SITES= http://users.pandora.be/stes/
|
|
DISTFILES= ${DIST_BS}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://users.pandora.be/stes/compiler.html
|
|
COMMENT= Portable Object Compiler
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
DIST_BS= objc-bootstrap-3.2.8
|
|
WRKSRC_BS= ${WRKDIR}/${DIST_BS}
|
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
CONFIGURE_DIRS= ${WRKSRC_BS} ${WRKSRC}
|
|
CONFIG_GUESS_OVERRIDE= ${WRKSRC_BS}/util/config.guess util/config.guess
|
|
CONFIG_SUB_OVERRIDE= ${WRKSRC_BS}/util/config.sub util/config.sub
|
|
BUILD_DIRS= ${WRKSRC}
|
|
PREPEND_PATH+= ${WRKSRC_BS}
|
|
BUILD_TARGET= default
|
|
|
|
USE_TOOLS+= lex yacc
|
|
USE_PKGLOCALEDIR= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
SUBST_CLASSES+= mflags
|
|
SUBST_STAGE.mflags= post-extract
|
|
SUBST_MESSAGE.mflags= Changing 'MFLAGS' to 'MMFLAGS'
|
|
SUBST_SED.mflags= -e 's,MFLAGS,MMFLAGS,g'
|
|
SUBST_FILES.mflags= configure configure.in manual.html \
|
|
*/Makefile* src/*/Makefile*
|
|
|
|
SUBST_CLASSES+= mandir
|
|
SUBST_STAGE.mandir= post-configure
|
|
SUBST_MESSAGE.mandir= Making mandir=${PKGMANDIR}
|
|
SUBST_SED.mandir= -e '/$$(TAR)/s,man,${PKGMANDIR},'
|
|
SUBST_FILES.mandir= Makefile
|
|
|
|
pre-configure:
|
|
${ECHO} >> ${WRKSRC_BS}/configure \
|
|
'${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS} -f ${MAKE_FILE} ${BUILD_TARGET}'
|
|
|
|
post-configure:
|
|
${LN} -s . ${WRKSRC_BS}/bin
|
|
${SED} < ${WRKSRC_BS}/objc > ${WRKDIR}/oc.tmp \
|
|
-e 's|${PREFIX}|${WRKSRC_BS}|g'
|
|
${MV} ${WRKDIR}/oc.tmp ${WRKSRC_BS}/objc
|
|
${CHMOD} +x ${WRKSRC_BS}/objc
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if !empty(PKGMANDIR:M*/*)
|
|
post-build:
|
|
${MKDIR} ${WRKSRC}/${PKGMANDIR:H}
|
|
${MV} ${WRKSRC}/man ${WRKSRC}/${PKGMANDIR}
|
|
.endif
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|