From owner-freebsd-ports Mon Dec 2 14:20:48 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE8B837B40D for ; Mon, 2 Dec 2002 14:20:19 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5892143EF7 for ; Mon, 2 Dec 2002 14:20:05 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gB2MK5x3002790 for ; Mon, 2 Dec 2002 14:20:05 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gB2MK51o002789; Mon, 2 Dec 2002 14:20:05 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 698FB37B401 for ; Mon, 2 Dec 2002 14:10:23 -0800 (PST) Received: from socigeog.hmt.toyama-u.ac.jp (socigeog.hmt.toyama-u.ac.jp [160.26.63.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B25343E4A for ; Mon, 2 Dec 2002 14:10:21 -0800 (PST) (envelope-from tkato@prontomail.com) Received: from localhost (localhost [127.0.0.1]) by socigeog.hmt.toyama-u.ac.jp (Postfix) with SMTP id 4EFF1935 for ; Tue, 3 Dec 2002 07:10:18 +0900 (JST) Message-Id: <20021203070927.6680564e.tkato@prontomail.com> Date: Tue, 3 Dec 2002 07:09:27 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/45929: Update port: devel/ucpp Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 45929 >Category: ports >Synopsis: Update port: devel/ucpp >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Dec 02 14:20:04 PST 2002 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.7-RELEASE-p2 i386 >Organization: >Environment: >Description: - Support CC/CFLAGS properly >How-To-Repeat: >Fix: diff -urN /usr/ports/devel/ucpp/Makefile devel/ucpp/Makefile --- /usr/ports/devel/ucpp/Makefile Mon Nov 11 18:59:27 2002 +++ devel/ucpp/Makefile Sun Dec 1 08:59:21 2002 @@ -8,17 +8,16 @@ PORTNAME= ucpp PORTVERSION= 1.2 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://pornin.nerim.net/ucpp/ MAINTAINER= ports@FreeBSD.org -MAKE_ENV= FLAGS="${CFLAGS}" - MAN1= ucpp.1 do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - @${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1 .include diff -urN /usr/ports/devel/ucpp/files/patch-Makefile devel/ucpp/files/patch-Makefile --- /usr/ports/devel/ucpp/files/patch-Makefile Tue Sep 10 20:09:15 2002 +++ devel/ucpp/files/patch-Makefile Sun Dec 1 09:01:14 2002 @@ -1,11 +1,22 @@ ---- Makefile.orig Mon Aug 19 19:40:18 2002 -+++ Makefile Mon Aug 19 19:41:25 2002 -@@ -57,7 +57,7 @@ +--- Makefile.orig Wed Feb 20 18:49:16 2002 ++++ Makefile Sun Dec 1 09:01:06 2002 +@@ -56,8 +56,8 @@ + #FLAGS = -O -m -DMEM_CHECK # for gcc - CC = gcc +-CC = gcc -FLAGS = -g -Wall -ansi -pedantic -DAUDIT -DMEM_DEBUG -+FLAGS += -DAUDIT -DMEM_DEBUG ++CC ?= gcc ++FLAGS = -ansi -pedantic -DAUDIT -DMEM_DEBUG #FLAGS = -O3 -Wall -ansi -pedantic -DMEM_CHECK # for the Compaq C compiler on Alpha/Linux +@@ -78,7 +78,7 @@ + # ----- nothing should be changed below this line ----- + + COBJ = mem.o hash.o cpp.o lexer.o assert.o macro.o eval.o +-CFLAGS = $(FLAGS) -DSTAND_ALONE ++CFLAGS += $(FLAGS) -DSTAND_ALONE + + all: ucpp + >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message