diff options
author | Satoshi Asami <asami@FreeBSD.org> | 2000-09-29 00:21:49 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 2000-09-29 00:21:49 +0000 |
commit | e9af94f3e796f089ed0d328a11b26427899801a4 (patch) | |
tree | e27370256485ed06b735953f168b954a3ed6a962 /devel/imake-4 | |
parent | 4f7519b08e4c8d7bc1a57711d29602cc236a9391 (diff) | |
download | ports-e9af94f3e796f089ed0d328a11b26427899801a4.tar.gz ports-e9af94f3e796f089ed0d328a11b26427899801a4.zip |
Notes
Diffstat (limited to 'devel/imake-4')
-rw-r--r-- | devel/imake-4/files/patch-t01 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/imake-4/files/patch-t01 b/devel/imake-4/files/patch-t01 new file mode 100644 index 000000000000..6d605f8e3696 --- /dev/null +++ b/devel/imake-4/files/patch-t01 @@ -0,0 +1,22 @@ +--- imake/imake.c~ Thu Jun 15 04:36:17 2000 ++++ imake/imake.c Thu Sep 28 13:58:02 2000 +@@ -1184,6 +1184,19 @@ + if (uname(&name) < 0) + LogFatal("Cannot invoke uname", ""); + ++# ifdef __FreeBSD__ ++ /* Hack for FreeBSD ports "Cross Version" compiling system. */ ++ { ++ char *e; ++ if ((e = getenv("OSREL")) != NULL && ++ strlen(name.sysname) + strlen(e) + 1 < SYS_NMLN) { ++ strcpy(name.release, e); ++ strcpy(name.version, name.sysname); ++ strcat(name.version, " "); ++ strcat(name.version, e); ++ } ++ } ++# endif + # ifdef DEFAULT_OS_NAME + parse_utsname(&name, DEFAULT_OS_NAME, buf, + "Bad DEFAULT_OS_NAME syntax %s"); |