1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-07 11:49:40 +00:00

- Fix DMAKEROOT path [1]

- Update MASTER_SITES.

PR:		ports/93383 [1]
Submitted by:	Malcolm Kay <malcolm.kay@internode.on.net> [1]
This commit is contained in:
Andrey Slusar 2006-03-24 20:27:39 +00:00
parent dbadfb8e79
commit c7725a656e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=158082
3 changed files with 37 additions and 16 deletions

View File

@ -7,8 +7,9 @@
PORTNAME= dmake
PORTVERSION= 4.3
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://people.debian.org/~rene/dmake/
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
DISTFILES= ${PORTNAME}_${PORTVERSION}.orig.tar.gz
MAINTAINER= ports@FreeBSD.org

View File

@ -0,0 +1,35 @@
--- configure.orig Tue Oct 12 21:47:46 2004
+++ configure Fri Mar 24 22:06:28 2006
@@ -6206,12 +6206,13 @@
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
$ac_includes_default
+#include <utime.h>
int
main ()
{
struct stat s, t;
exit (!(stat ("conftest.data", &s) == 0
- && utime ("conftest.data", (long *)0) == 0
+ && utime ("conftest.data", (void *)0) == 0
&& stat ("conftest.data", &t) == 0
&& t.st_mtime >= s.st_mtime
&& t.st_mtime - s.st_mtime < 120));
@@ -6669,7 +6670,7 @@
if test "${prefix}" != NONE; then
- DMAKEROOT=${prefix}/share/startup/startup.mk
+ DMAKEROOT=${prefix}/share/dmake/startup/startup.mk
export DMAKEROOT
else
DMAKEROOT=startup.mk
@@ -8108,7 +8109,7 @@
if test x$prefix != x; then
if test x$OS_TYPE = xunix; then
- echo '"DMAKEROOT := '$prefix'/share/startup",' >> $outfile
+ echo '"DMAKEROOT := '$prefix'/share/dmake/startup",' >> $outfile
fi
echo '"OS := '${OS_VERSION}'",' >> $outfile
fi

View File

@ -126,18 +126,3 @@ most common.
+ /* char *newtmp; */
/* This call to Get_temp sets TMPFILE for subsequent expansion of file.
--- configure Fri Oct 22 05:36:37 2004 -- fix warnings, so configure does
+++ configure Sun Jan 2 19:07:52 2005 -- not conclude, our utime is bad.
@@ -6207,4 +6207,5 @@
/* end confdefs.h. */
$ac_includes_default
+#include <utime.h>
int
main ()
@@ -6212,5 +6213,5 @@
struct stat s, t;
exit (!(stat ("conftest.data", &s) == 0
- && utime ("conftest.data", (long *)0) == 0
+ && utime ("conftest.data", (void *)0) == 0
&& stat ("conftest.data", &t) == 0
&& t.st_mtime >= s.st_mtime