From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Sep 3 21:10:11 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E93E1065670 for ; Mon, 3 Sep 2012 21:10:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E7D338FC0A for ; Mon, 3 Sep 2012 21:10:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q83LAAvq046551 for ; Mon, 3 Sep 2012 21:10:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q83LAAbj046539; Mon, 3 Sep 2012 21:10:10 GMT (envelope-from gnats) Resent-Date: Mon, 3 Sep 2012 21:10:10 GMT Resent-Message-Id: <201209032110.q83LAAbj046539@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, Christian Mangin Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E08C106566B for ; Mon, 3 Sep 2012 21:04:57 +0000 (UTC) (envelope-from christian.mangin@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 453508FC1A for ; Mon, 3 Sep 2012 21:04:57 +0000 (UTC) Received: by ialo14 with SMTP id o14so10393382ial.13 for ; Mon, 03 Sep 2012 14:04:56 -0700 (PDT) Received: by 10.50.161.131 with SMTP id xs3mr4341723igb.46.1346706296584; Mon, 03 Sep 2012 14:04:56 -0700 (PDT) Received: from localhost (cable-10-157-60.b2b2c.ca. [72.10.157.60]) by mx.google.com with ESMTPS id fu4sm10135443igc.4.2012.09.03.14.04.55 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 03 Sep 2012 14:04:56 -0700 (PDT) Message-Id: <50451b78.c4bb320a.616d.51a5@mx.google.com> Date: Mon, 03 Sep 2012 14:04:56 -0700 (PDT) From: Christian Mangin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/171295: [PATCH] print/splix: Remove hardcoded gcc/g++ in Makefile X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Christian Mangin List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 21:10:11 -0000 >Number: 171295 >Category: ports >Synopsis: [PATCH] print/splix: Remove hardcoded gcc/g++ in Makefile >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: Mon Sep 03 21:10:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Christian Mangin >Release: FreeBSD 9.1-RC1 amd64 >Organization: >Environment: System: FreeBSD 9.1-RC1 amd64 >Description: This port has a hardcoded dependency on gcc/g++ in its Makefile and won't honor $CC and $CXX. >How-To-Repeat: >Fix: Patch attached: --- splix.diff begins here --- diff -ruN splix.orig/Makefile splix/Makefile --- splix.orig/Makefile 2012-06-10 14:42:13.000000000 -0400 +++ splix/Makefile 2012-09-03 16:38:17.772759186 -0400 @@ -53,6 +53,9 @@ .include "bsd.port.pre.mk" +post-patch: + @${TOUCH} ${WRKSRC}/.defs.mk + post-configure: .if !defined(WITHOUT_JBIG) diff -ruN splix.orig/files/patch-Makefile splix/files/patch-Makefile --- splix.orig/files/patch-Makefile 1969-12-31 19:00:00.000000000 -0500 +++ splix/files/patch-Makefile 2012-09-03 15:38:58.235760824 -0400 @@ -0,0 +1,11 @@ +--- Makefile.orig 2012-09-03 15:38:14.697756578 -0400 ++++ Makefile 2012-09-03 15:38:24.448760166 -0400 +@@ -55,8 +55,6 @@ + # +--------------------------------------------------------------------------+ + LANGUAGES := cpp c + +-CC := gcc +-CXX := g++ + RM := rm -f + AR := ar crs + LEX := flex diff -ruN splix.orig/files/patch-rules.mk splix/files/patch-rules.mk --- splix.orig/files/patch-rules.mk 1969-12-31 19:00:00.000000000 -0500 +++ splix/files/patch-rules.mk 2012-09-03 14:51:33.678759641 -0400 @@ -0,0 +1,17 @@ +--- rules.mk.orig 2012-09-03 14:49:22.619758499 -0400 ++++ rules.mk 2012-09-03 14:50:05.905758950 -0400 +@@ -6,12 +6,12 @@ + + $(rastertoqpdl_TARGET): $(rastertoqpdl_OBJ) + $(call printCmd, $(cmd_link)) +- $(Q)g++ -o $@ $^ $(rastertoqpdl_CXXFLAGS) $(rastertoqpdl_LDFLAGS) \ ++ $(Q)$(CXX) -o $@ $^ $(rastertoqpdl_CXXFLAGS) $(rastertoqpdl_LDFLAGS) \ + $(rastertoqpdl_LIBS) + + $(pstoqpdl_TARGET): $(pstoqpdl_OBJ) + $(call printCmd, $(cmd_link)) +- $(Q)g++ -o $@ $^ $(pstoqpdl_CXXFLAGS) $(pstoqpdl_LDFLAGS) \ ++ $(Q)$(CXX) -o $@ $^ $(pstoqpdl_CXXFLAGS) $(pstoqpdl_LDFLAGS) \ + $(pstoqpdl_LIBS) + + .PHONY: install installcms --- splix.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: