Date: Fri, 21 Sep 2012 22:18:07 -0400 (EDT) From: Steve Wills <swills@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: kmoore@FreeBSD.org Subject: ports/171863: [PATCH] ports-mgmt/pbi-manager: Fix build with clang Message-ID: <201209220218.q8M2I7Xh038310@meatwad.mouf.net> Resent-Message-ID: <201209220220.q8M2K1pm015447@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 171863 >Category: ports >Synopsis: [PATCH] ports-mgmt/pbi-manager: Fix build with clang >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Sep 22 02:20:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Steve Wills >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD meatwad.mouf.net 10.0-CURRENT FreeBSD 10.0-CURRENT #7 r239244M: Mon Aug 13 23:21:42 EDT >Description: - Fix build with clang Port maintainer (kmoore@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: SVN) >How-To-Repeat: >Fix: --- pbi-manager-0.9.9.patch begins here --- Index: files/patch-wrapper-Makefile =================================================================== --- files/patch-wrapper-Makefile (revision 0) +++ files/patch-wrapper-Makefile (working copy) @@ -0,0 +1,27 @@ +--- wrapper/Makefile.orig 2012-06-25 22:12:16.000000000 -0400 ++++ wrapper/Makefile 2012-09-21 22:08:00.437345851 -0400 +@@ -4,13 +4,12 @@ + + ####### Compiler, tools and options + +-CC = gcc +-CXX = g++ ++CC ?= gcc ++CXX ?= g++ + DEFINES = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED + CFLAGS = -pipe -O2 -Wall -W $(DEFINES) + CXXFLAGS = -pipe -O2 -Wall -W $(DEFINES) + INCPATH = -I/usr/local/include -I. -I/usr/local/include +-LINK = gcc + LFLAGS = -Wl,-O1 + LIBS = $(SUBLIBS) + AR = ar cqs +@@ -71,7 +70,7 @@ + + $(TARGET): $(OBJECTS) + @$(CHK_DIR_EXISTS) /usr/pbi/ || $(MKDIR) /usr/pbi/ +- $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) ++ $(CC) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) + + Makefile: + Property changes on: files/patch-wrapper-Makefile ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property --- pbi-manager-0.9.9.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209220218.q8M2I7Xh038310>