- Update to 0.7

PR:		ports/64914
Submitted by:	michael johnson <ahze@ahze.net> (maintainer)
This commit is contained in:
Pav Lucistnik 2004-03-30 00:50:27 +00:00
parent fd14ac3b8b
commit 9545b8271c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105658
5 changed files with 24 additions and 68 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= premake
PORTVERSION= 1.6.1
PORTVERSION= 1.7
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= premake
@ -19,7 +19,6 @@ USE_ZIP= yes
WRKSRC= ${WRKDIR}/Premake-${PORTVERSION}
USE_GMAKE= yes
PLIST_FILES= bin/premake
USE_REINPLACE= yes
MAKE_ENV= CC="${CC}" CFLAGS="${CFLAGS}"
do-install:

View file

@ -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

View file

@ -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 $<)

View file

@ -0,0 +1,19 @@
--- Src/posix.c.orig Sat Mar 27 05:00:55 2004
+++ Src/posix.c Tue Mar 30 02:47:55 2004
@@ -89,13 +89,15 @@
int plat_findLib(const char* lib, char* buffer, int size)
{
+ FILE* file;
+
if (findLib(lib, "/usr/lib"))
{
strcpy(buffer, "/usr/lib");
return 1;
}
- FILE* file = fopen("/etc/ld.so.conf", "rt");
+ file = fopen("/etc/ld.so.conf", "rt");
if (file == NULL) return 0;
while (!feof(file))

View file

@ -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)