Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Dec 2002 07:09:27 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/45929: Update port: devel/ucpp
Message-ID:  <20021203070927.6680564e.tkato@prontomail.com>

next in thread | raw e-mail | index | archive | help

>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 <bsd.port.mk>
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




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