From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Feb 9 06:40:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BA78AD35 for ; Sun, 9 Feb 2014 06:40:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 94FB2196F for ; Sun, 9 Feb 2014 06:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s196e0nt005288 for ; Sun, 9 Feb 2014 06:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s196e0J0005287; Sun, 9 Feb 2014 06:40:00 GMT (envelope-from gnats) Resent-Date: Sun, 9 Feb 2014 06:40:00 GMT Resent-Message-Id: <201402090640.s196e0J0005287@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Stas Timokhin Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 03FC4C7D for ; Sun, 9 Feb 2014 06:33:31 +0000 (UTC) Received: from newred.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DDC78194D for ; Sun, 9 Feb 2014 06:33:30 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by newred.freebsd.org (8.14.7/8.14.7) with ESMTP id s196XUnB085257 for ; Sun, 9 Feb 2014 06:33:30 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.7/8.14.7/Submit) id s196XUk9085250; Sun, 9 Feb 2014 06:33:30 GMT (envelope-from nobody) Message-Id: <201402090633.s196XUk9085250@cgiserv.freebsd.org> Date: Sun, 9 Feb 2014 06:33:30 GMT From: Stas Timokhin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/186579: Fix for building graphics/picpuz on FreeBSD-11.X X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Feb 2014 06:40:00 -0000 >Number: 186579 >Category: ports >Synopsis: Fix for building graphics/picpuz on FreeBSD-11.X >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Feb 09 06:40:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Stas Timokhin >Release: 11-Current >Organization: None >Environment: FreeBSD 11.0-CURRENT #0 r260187M >Description: Fix for building graphics/picpuz where gss is not installed. >How-To-Repeat: http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2014-02-06_22h28m10s/logs/picpuz-2.1.1_5.log >Fix: Patch attached with submission follows: --- files/patch-Makefile.orig 2014-02-09 13:27:50.000000000 +0700 +++ files/patch-Makefile 2014-02-09 13:29:24.000000000 +0700 @@ -1,5 +1,5 @@ --- Makefile.orig 2009-10-29 14:38:40.000000000 +0600 -+++ Makefile 2010-01-04 19:55:10.000000000 +0600 ++++ Makefile 2014-02-09 13:29:16.000000000 +0700 @@ -6,7 +6,7 @@ # replace CFLAGS and LFLAGS -O (oh) with -g for GDB debugging @@ -9,6 +9,24 @@ # use $PREFIX if defined, else assume /usr/local ifeq "$(PREFIX)" "" +@@ -19,14 +19,14 @@ + DESKTOP = $(DATADIR)/kornelix-$(PROGRAM).desktop + + $(PROGRAM): $(PROGRAM).o zfuncs.o +- @ g++ $(LFLAGS) -o $(PROGRAM) $(PROGRAM).o zfuncs.o ++ @ ${CXX} $(LFLAGS) -o $(PROGRAM) $(PROGRAM).o zfuncs.o + + $(PROGRAM).o: $(SOURCE) zfuncs.h +- @ g++ $(CFLAGS) -o $(PROGRAM).o $(SOURCE) \ ++ @ ${CXX} $(CFLAGS) -o $(PROGRAM).o $(SOURCE) \ + -D "DATADIR=\"$(DATADIR)\"" -D "DOCDIR=\"$(DOCDIR)\"" + + zfuncs.o: zfuncs.cpp zfuncs.h +- @ g++ $(CFLAGS) zfuncs.cpp \ ++ @ ${CXX} $(CFLAGS) zfuncs.cpp \ + -D "DATADIR=\"$(DATADIR)\"" -D "DOCDIR=\"$(DOCDIR)\"" -D "BINDIR=\"$(BINDIR)\"" + + install: $(PROGRAM) @@ -39,15 +39,16 @@ cp $(PROGRAM) $(DESTDIR)$(BINDIR) cp -R locales/* $(DESTDIR)$(DATADIR)/locales >Release-Note: >Audit-Trail: >Unformatted: