Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Apr 2002 23:45:53 +0200 (CEST)
From:      Cyrille Lefevre <cyrille.lefevre@laposte.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Andre Albsmeier <andre@albsmeier.net>
Subject:   ports/37112: Maintainer update: security/op (cflags patch)
Message-ID:  <200204152145.g3FLjr537912@gits.dyndns.org>

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

>Number:         37112
>Category:       ports
>Synopsis:       Maintainer update: security/op (cflags patch)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 15 14:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Cyrille Lefevre
>Release:        FreeBSD 4.5-PRERELEASE i386
>Organization:
ACME
>Environment:
System: FreeBSD gits 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #14: Fri Jan 11 00:18:07 CET 2002 root@gits:/disk2/4.x-stable/src/sys/compile/CUSTOM i386

>Description:
	this small patch is for this port to honor CFLAGS.

	Makefile
		patch-makefile updated
	files/patch-lex.l
		new file to avoid a compiler warning
>How-To-Repeat:
	make CFLAGS=-g
>Fix:

	take care, the first part of this patch is against /dev/null
	and the second one is a cvs diff.

--- /dev/null	Mon Apr 15 23:38:44 2002
+++ files/patch-lex.l	Mon Apr 15 23:31:56 2002
@@ -0,0 +1,10 @@
+--- lex.l.orig	Mon Apr 15 23:30:47 2002
++++ lex.l	Mon Apr 15 23:30:18 2002
+@@ -14,6 +14,7 @@
+ #include <ctype.h>
+ #include "defs.h"
+ 
++static int	addarg();
+ static cmd_t	*newcmd();
+ char	*savestr();
+ 

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/security/op/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	21 Aug 2001 17:56:15 -0000	1.5
+++ Makefile	15 Apr 2002 21:37:06 -0000
@@ -57,11 +57,13 @@
 post-patch: patch-makefile patch-conf-file
 
 patch-makefile:
-	@${PERL} -pi.fbsd -e 's|(install)|$$1 -c| if (!/:/);' \
+	@${PERL} -pi.fbsd \
+		-e 's|(install)|$$1 -c| if (!/:/);s|CFLAGS=|CFLAGS+=|' \
 		${WRKSRC}/Makefile
 
 patch-conf-file:
-	@${PERL} -pi.fbsd -e 's|^|#| if (!/^#|DEFAULT|MAGIC/);s|/usr/ucb:||;' \
+	@${PERL} -pi.fbsd \
+		-e 's|^|#| if (!/^#|DEFAULT|MAGIC/);s|/usr/ucb:||' \
 		${WRKSRC}/${CONF_FILE}
 
 # Post-install
>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?200204152145.g3FLjr537912>