Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2013 12:13:16 +0000 (UTC)
From:      MIHIRA Sanpei Yoshiro <sanpei@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r331257 - in head/misc/usbrh-libusb: . files
Message-ID:  <201310221213.r9MCDGe0057332@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sanpei
Date: Tue Oct 22 12:13:15 2013
New Revision: 331257
URL: http://svnweb.freebsd.org/changeset/ports/331257

Log:
  fix on clang enviroment(use cc instead of gcc)

Modified:
  head/misc/usbrh-libusb/Makefile
  head/misc/usbrh-libusb/files/patch-Makefile

Modified: head/misc/usbrh-libusb/Makefile
==============================================================================
--- head/misc/usbrh-libusb/Makefile	Tue Oct 22 12:12:56 2013	(r331256)
+++ head/misc/usbrh-libusb/Makefile	Tue Oct 22 12:13:15 2013	(r331257)
@@ -12,8 +12,6 @@ DISTNAME=	usbrh-${PORTVERSION}
 MAINTAINER=	sanpei@FreeBSD.org
 COMMENT=	Yet another reads temperatures and humidity from a Strawberry Linux USB-RH
 
-USE_GCC=	any
-
 PLIST_FILES=	bin/usbrh
 
 NO_STAGE=	yes

Modified: head/misc/usbrh-libusb/files/patch-Makefile
==============================================================================
--- head/misc/usbrh-libusb/files/patch-Makefile	Tue Oct 22 12:12:56 2013	(r331256)
+++ head/misc/usbrh-libusb/files/patch-Makefile	Tue Oct 22 12:13:15 2013	(r331257)
@@ -7,7 +7,7 @@
 +all:	$(EXE)
  $(EXE): $(SRC)
 -	gcc -lusb -g -o $@ $^
-+	gcc -lusb -g -o $@ $(SRC)
++	cc -lusb -g -o $@ $(SRC)
  
  clean: 
  	rm $(EXE)



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