aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-08-14 18:25:10 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-08-14 18:25:10 +0000
commit60087e5de3c0c8992c6cc1a0c7aa26d1a4ba9219 (patch)
treeea5a7f543dc44f60b31b3f93704f5e1978ab1025
parent284c0308889f012d42cfe8a3ef804bf923904a22 (diff)
downloadports-60087e5de3c0c8992c6cc1a0c7aa26d1a4ba9219.tar.gz
ports-60087e5de3c0c8992c6cc1a0c7aa26d1a4ba9219.zip
Notes
-rw-r--r--lang/cli/Makefile15
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})