Date: Mon, 29 Mar 2004 16:37:54 -0800 (PST) From: michael johnson <ahze@ahze.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/64914: [UPDATE] devel/premake -- update to 1.7 Message-ID: <200403300037.i2U0bsQA014468@www.freebsd.org> Resent-Message-ID: <200403300040.i2U0e6L6026769@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 64914 >Category: ports >Synopsis: [UPDATE] devel/premake -- update to 1.7 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Mar 29 16:40:05 PST 2004 >Closed-Date: >Last-Modified: >Originator: michael johnson >Release: 5.2-CURRENT && 4.9-STABLE >Organization: >Environment: >Description: update to 1.7 >How-To-Repeat: >Fix: diff -ruN devel/premake.orig/Makefile devel/premake/Makefile --- devel/premake.orig/Makefile Sun Mar 28 06:45:56 2004 +++ devel/premake/Makefile Mon Mar 29 18:52:42 2004 @@ -6,7 +6,7 @@ # PORTNAME= premake -PORTVERSION= 1.6.1 +PORTVERSION= 1.7 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= premake @@ -18,6 +18,7 @@ USE_ZIP= yes WRKSRC= ${WRKDIR}/Premake-${PORTVERSION} USE_GMAKE= yes +USE_GCC= 3.3 PLIST_FILES= bin/premake USE_REINPLACE= yes MAKE_ENV= CC="${CC}" CFLAGS="${CFLAGS}" diff -ruN devel/premake.orig/distinfo devel/premake/distinfo --- devel/premake.orig/distinfo Sun Mar 28 06:45:56 2004 +++ devel/premake/distinfo Mon Mar 29 18:52:42 2004 @@ -1,2 +1,2 @@ -MD5 (premake-src-1.6.1.zip) = 3833bcf3ecd49b8bf90a4a431e825a82 -SIZE (premake-src-1.6.1.zip) = 140011 +MD5 (premake-src-1.7.zip) = e018d8a3a42145530060b0043b530a3e +SIZE (premake-src-1.7.zip) = 178976 diff -ruN devel/premake.orig/files/CVS/Entries devel/premake/files/CVS/Entries --- devel/premake.orig/files/CVS/Entries Mon Mar 29 18:52:51 2004 +++ devel/premake/files/CVS/Entries Mon Mar 29 18:54:07 2004 @@ -1,3 +1,3 @@ /patch-Premake.make/1.1/Sun Mar 28 11:45:56 2004// -/patch-Src::posix.c/1.1/Sun Mar 28 11:45:56 2004// +/patch-Src::posix.c/1.1/Mon Mar 29 23:54:07 2004// D diff -ruN devel/premake.orig/files/patch-Premake.make devel/premake/files/patch-Premake.make --- devel/premake.orig/files/patch-Premake.make Sun Mar 28 06:45:56 2004 +++ devel/premake/files/patch-Premake.make Mon Mar 29 18:52:42 2004 @@ -1,23 +1,5 @@ ---- Premake.make.orig Tue Feb 24 21:49:57 2004 -+++ Premake.make Thu Mar 25 21:03:11 2004 -@@ -8,13 +8,13 @@ - TARGET = - - ifeq ($(CONFIG),Debug) -- CFLAGS += --no-rtti --no-exceptions -- LDFLAGS += -ldl -+ CFLAGS += --no-exceptions -+ LDFLAGS += - TARGET = premake - endif - ifeq ($(CONFIG),Release) -- CFLAGS += --no-rtti --no-exceptions -Os -- LDFLAGS += -ldl -+ CFLAGS += --no-exceptions -Os -+ LDFLAGS += - TARGET = premake - endif - CXXFLAGS=$(CFLAGS) +--- Premake.make.orig Mon Mar 29 18:33:15 2004 ++++ Premake.make Mon Mar 29 18:33:35 2004 @@ -23,37 +23,21 @@ -@if [ ! -d obj ]; then mkdir obj; fi @echo $(notdir $<) diff -ruN devel/premake.orig/files/patch-Src::posix.c devel/premake/files/patch-Src::posix.c --- devel/premake.orig/files/patch-Src::posix.c Sun Mar 28 06:45:56 2004 +++ devel/premake/files/patch-Src::posix.c Wed Dec 31 19:00:00 1969 @@ -1,44 +0,0 @@ ---- Src/posix.c.orig Tue Feb 24 21:49:57 2004 -+++ Src/posix.c Thu Mar 25 21:10:21 2004 -@@ -20,6 +20,9 @@ - - #if defined(__linux__) - const char* osIdent = "linux"; -+#endif -+#if defined(__FreeBSD__) -+const char* osIdent = "linux"; - #else - #error Unknown OS type. - #endif -@@ -87,31 +90,7 @@ - return 1; - } - -- FILE* file = fopen("/etc/ld.so.conf", "rt"); -- if (file == NULL) return 0; -- -- while (!feof(file)) -- { -- // Read a line and trim off any trailing whitespace -- char linebuffer[2048]; -- char* ptr; -- -- fgets(buffer, 2048, file); -- ptr = &buffer[strlen(buffer) - 1]; -- while (isspace(*ptr)) -- *(ptr--) = '\0'; -- -- if (findLib(lib, buffer)) -- { -- fclose(file); -- return 1; -- } -- } -- -- fclose(file); -- return 0; - } -- - //----------------------------------------------------------------------------- - - int plat_generateUUID(char* uuid) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403300037.i2U0bsQA014468>