Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jan 2001 17:06:33 +0100 (CET)
From:      andreas@FreeBSD.org
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/24110: ipa port (sysutils/ipa) doesn't honor CFLAGS
Message-ID:  <200101061606.f06G6X311819@klemm.gtn.com>
Resent-Message-ID: <200101061620.f06GK1Y07654@freefall.freebsd.org>

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

>Number:         24110
>Category:       ports
>Synopsis:       ipa doesn't honor CFLAGS
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 06 08:20:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Andreas Klemm
>Release:        FreeBSD-4.2
>Organization:
Andreas Klemm
>Environment:

	FreeBSD ports collection as of today
	FreeBSD 4.2-STABLE

>Description:

	sysinstall/ipa port
	a) doesn't honor CFLAGS
	b) compiles with debugging sysmbols which is more expensive

>How-To-Repeat:

	make all install

>Fix:

a) comment out CFLAGS in Makefile
b) use option -s when installing binaries using "INSTALL"

FIX
files/patch-Makefile:

--- Makefile.orig	Sat Jan  6 16:48:50 2001
+++ Makefile	Sat Jan  6 16:50:22 2001
@@ -38,7 +38,7 @@
 #	-O3   - optimize (it seems that -O3 also help to find out some errors);
 #	-g    - produce debugging information.
 #
-CFLAGS=-Wall -O3 -g
+#CFLAGS=-Wall -O3 -g
 
 #
 # DSTBINDIR - where to install binaries
@@ -132,7 +132,7 @@
 	@${ECHO}
 .else
 	@${ECHO} ">> Installing binaries, man pages and miscellaneous files."
-	${INSTALL} -c -g wheel -o root -m 0555 ipa ipastat ${DSTBINDIR}
+	${INSTALL} -c -s -g wheel -o root -m 0555 ipa ipastat ${DSTBINDIR}
 	${CHMOD} u+s ${DSTBINDIR}/ipastat
 	${INSTALL} -c -g wheel -o root -m 0444 man/ipa.5 man/ipa.conf.5 ${DSTMANDIR}/man5
 	${INSTALL} -c -g wheel -o root -m 0444 man/ipa.8 man/ipastat.8 ${DSTMANDIR}/man8


>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?200101061606.f06G6X311819>