Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jun 2010 08:30:08 GMT
From:      dfilter@FreeBSD.ORG (dfilter service)
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/147461: commit references a PR
Message-ID:  <201006040830.o548U8m3069889@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/147461; it has been noted by GNATS.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: misc/147461: commit references a PR
Date: Fri,  4 Jun 2010 08:19:58 +0000 (UTC)

 Author: maxim
 Date: Fri Jun  4 08:19:43 2010
 New Revision: 208798
 URL: http://svn.freebsd.org/changeset/base/208798
 
 Log:
   o Makefile BSDfication.
   
   PR:		misc/147461 (with my changes)
   Submitted by:	Erik Cederstrand
 
 Modified:
   head/tools/regression/fstest/Makefile
 
 Modified: head/tools/regression/fstest/Makefile
 ==============================================================================
 --- head/tools/regression/fstest/Makefile	Fri Jun  4 08:14:30 2010	(r208797)
 +++ head/tools/regression/fstest/Makefile	Fri Jun  4 08:19:43 2010	(r208798)
 @@ -1,31 +1,25 @@
  # $FreeBSD$
  
 -OSTYPE=$(shell uname)
 +PROG=	fstest
 +NO_MAN=
  
 -ifeq "${OSTYPE}" "FreeBSD"
 -CFLAGS += -D__OS_FreeBSD__
 -CFLAGS += -DHAS_LCHMOD -DHAS_CHFLAGS -DHAS_LCHFLAGS -DHAS_FREEBSD_ACL
 -endif
 -
 -ifeq "${OSTYPE}" "SunOS"
 -CFLAGS += -D__OS_Solaris__
 -CFLAGS += -DHAS_TRUNCATE64 -DHAS_STAT64
 -endif
 -
 -ifeq "${OSTYPE}" "Darwin"
 -CFLAGS += -D__OS_Darwin__
 -CFLAGS += -DHAS_LCHMOD -DHAS_CHFLAGS -DHAS_LCHFLAGS
 -endif
 -
 -ifeq "${OSTYPE}" "Linux"
 -CFLAGS += -D__OS_Linux__
 -CFLAGS += -D_GNU_SOURCE
 -endif
 +OSTYPE!= uname
  
 -all:	fstest
 +.if ${OSTYPE} == "FreeBSD"
 +CFLAGS+= -D__OS_FreeBSD__
 +CFLAGS+= -DHAS_LCHMOD -DHAS_CHFLAGS -DHAS_LCHFLAGS -DHAS_FREEBSD_ACL
  
 -fstest:	fstest.c
 -	gcc -Wall ${CFLAGS} fstest.c -o fstest
 +.elif ${OSTYPE} == "SunOS"
 +CFLAGS+= -D__OS_Solaris__
 +CFLAGS+= -DHAS_TRUNCATE64 -DHAS_STAT64
  
 -clean:
 -	rm -f fstest
 +.elif ${OSTYPE} == "Darwin"
 +CFLAGS+= -D__OS_Darwin__
 +CFLAGS+= -DHAS_LCHMOD -DHAS_CHFLAGS -DHAS_LCHFLAGS
 +
 +.elif ${OSTYPE} == "Linux"
 +CFLAGS+= -D__OS_Linux__
 +CFLAGS+= -D_GNU_SOURCE
 +.endif
 +
 +.include <bsd.prog.mk>
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006040830.o548U8m3069889>