diff options
author | sobomax <sobomax@FreeBSD.org> | 2003-04-24 11:17:57 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2003-04-24 11:17:57 +0000 |
commit | 9df1a03babe251bcd6a8867006bcb51f6c9d810d (patch) | |
tree | 995f5aa03a193232604e81726dd32588d118396f /lang/cli/Makefile | |
parent | 51102304cd9d9c271c9ecb77c0f2b245abaa7a90 (diff) | |
download | FreeBSD-ports-9df1a03babe251bcd6a8867006bcb51f6c9d810d.zip FreeBSD-ports-9df1a03babe251bcd6a8867006bcb51f6c9d810d.tar.gz |
Upgrade to 20021101 release (aka 1.0), which fixes compilation on
recent FreeBSD versions and allows to remove all of the gcc 3.x
fixes. sscli now supports Darwin/ppc, so that it might be possible
to port it to FreeBSD/ppc once it is available.
Diffstat (limited to 'lang/cli/Makefile')
-rw-r--r-- | lang/cli/Makefile | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/lang/cli/Makefile b/lang/cli/Makefile index 42b4e85..49f0320 100644 --- a/lang/cli/Makefile +++ b/lang/cli/Makefile @@ -6,12 +6,9 @@ # PORTNAME= cli -PORTVERSION= 20020619 +PORTVERSION= 20021101 CATEGORIES= lang -MASTER_SITES= http://download.microsoft.com/download/.netframesdk/CLI/Beta2/WXP/EN-US/ \ - http://download.microsoft.com/download/.netframesdk/Beta2/WXP/EN-US/ \ - http://www.corel.com/6763/downloads/mirror/microsoft/rotor/ \ - ftp://ftp.corel.com/pub/mirror/Microsoft/rotor/ +MASTER_SITES= http://download.microsoft.com/download/.netframesdk/cli3/1.0/wxp/en-us/ DISTNAME= sscli_${PORTVERSION} EXTRACT_SUFX= .tgz @@ -24,6 +21,7 @@ RESTRICTED= "license terms need to be reviewed" NO_CDROM= ${RESTRICTED} NO_PACKAGE= ${RESTRICTED} +USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= ${BUILD_TYPE} CONFIGURE_SCRIPT= portconfigure @@ -36,12 +34,19 @@ PLIST_SUB= CLI_VERSION="${PORTVERSION}" .include <bsd.port.pre.mk> .if ${OSVERSION} >= 500000 -EXTRA_PATCHES!= ${ECHO_CMD} ${PKGDIR}/files.5/patch-* +GCC_LIB= -lstdc++ -lgcc -lc_r -lc +.else +GCC_LIB= -lstdc++ -lgcc -lc_r .endif post-extract: @${CP} ${SCRIPTDIR}/portconfigure ${WRKSRC} +post-patch: + @${REINPLACE_CMD} -e 's|%%GCC_LIB%%|${GCC_LIB}|g' \ + ${WRKSRC}/makefile.common.in \ + ${WRKSRC}/rotorenv/bin/rotor_x86mk.inc + do-build: @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ./buildall ${BUILD_TYPE}) |