diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2003-08-14 18:25:10 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2003-08-14 18:25:10 +0000 |
commit | 60087e5de3c0c8992c6cc1a0c7aa26d1a4ba9219 (patch) | |
tree | ea5a7f543dc44f60b31b3f93704f5e1978ab1025 /lang/cli | |
parent | - New option LDAP_PORT (diff) |
- make IGNORE, license terms need to be agreed prior install
- apply patch from fearow@comcast.net
- add USE_PERL=yes
PR: 55368
Notes
Notes:
svn path=/head/; revision=86954
Diffstat (limited to 'lang/cli')
-rw-r--r-- | lang/cli/Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/lang/cli/Makefile b/lang/cli/Makefile index 79cd84c8bd3d..8769d9278c0c 100644 --- a/lang/cli/Makefile +++ b/lang/cli/Makefile @@ -18,10 +18,10 @@ COMMENT= An implementation of the ECMA CLI and the ECMA C\# language WRKSRC= ${WRKDIR}/sscli RESTRICTED= "license terms need to be reviewed" +IGNORE= "license terms need to be agreed prior install" ONLY_FOR_ARCHS= i386 -BROKEN= "Does not compile" - +USE_PERL5= yes USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= ${BUILD_TYPE} @@ -29,7 +29,6 @@ CONFIGURE_SCRIPT= portconfigure MAKEFILE= makefile MAKE_ENV= CC_NAME="${CC}" SHELL="${SH}" BUILD_TYPE= free -CFLAGS+= -fpermissive PLIST_SUB= CLI_VERSION="${PORTVERSION}" .include <bsd.port.pre.mk> @@ -37,6 +36,7 @@ PLIST_SUB= CLI_VERSION="${PORTVERSION}" .if ${OSVERSION} >= 500000 GCC_LIB= -lstdc++ -lgcc -lc_r -lc .else +CFLAGS+= -fpermissive GCC_LIB= -lstdc++ -lgcc -lc_r .endif @@ -44,9 +44,16 @@ post-extract: @${CP} ${SCRIPTDIR}/portconfigure ${WRKSRC} post-patch: - @${REINPLACE_CMD} -e 's|%%GCC_LIB%%|${GCC_LIB}|g' \ + @${REINPLACE_CMD} -e 's|%%GCC_LIB%%|${GCC_LIB}|g; \ + s|-fno-rtti ||g; \ + s|-fcheck-new ||g;' \ ${WRKSRC}/makefile.common.in \ ${WRKSRC}/rotorenv/bin/rotor_x86mk.inc + @${FIND} ${WRKSRC}/rotorenv/bin -type f | ${XARGS} \ + ${REINPLACE_CMD} -e 's|-Wno-non-virtual-dtor||g; \ + s|-Wno-non-template-friend||g;' + @${FIND} ${WRKSRC}/clr/src -type f | ${XARGS} \ + ${REINPLACE_CMD} -e 's|-Wno-ctor-dtor-privacy||g' do-build: @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ./buildall ${BUILD_TYPE}) |