Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Apr 2003 17:24:39 +0400 (MSD)
From:      Alex Semenyaka <alexs@snark.ratmir.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/50544: Port net/libconnect installation problem fix
Message-ID:  <200304021324.h32DOdd2088406@snark.ratmir.ru>
Resent-Message-ID: <200304021330.h32DUEXg079768@freefall.freebsd.org>

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

>Number:         50544
>Category:       ports
>Synopsis:       Port net/libconnect installation problem fix
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 02 05:30:13 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alex Semenyaka
>Release:        FreeBSD 4.8-RC i386
>Organization:
Ratmir
>Environment:
System: FreeBSD snark.ratmir.ru 4.8-RC FreeBSD 4.8-RC #7: Sun Mar 30 07:23:48 MSD 2003 root@snark.ratmir.ru:/usr/obj/usr/src/sys/SNARK i386

>Description:

When NOPROFILE variable is set the port libconnect could not be installed.
The installation procedure from the Makefile always tried to install
the libconnect_p.a file but if NOPROFILE is set the profiled version is
not built.

>How-To-Repeat:

cd /usr/ports/net/libconnect
NOPROFILE=true make install

>Fix:

Just put the corresponding check:

--- Makefile.old	Wed Apr  2 17:12:04 2003
+++ Makefile	Wed Apr  2 17:18:40 2003
@@ -20,3 +20,5 @@
 	@${INSTALL_PROGRAM} ${WRKSRC}/libconnect.a ${PREFIX}/lib
+.if !defined(NOPROFILE)
 	@${INSTALL_PROGRAM} ${WRKSRC}/libconnect_p.a ${PREFIX}/lib
+.endif
 	@${INSTALL_PROGRAM} ${WRKSRC}/libconnect.so.1 ${PREFIX}/lib

>Release-Note:
>Audit-Trail:
>Unformatted:



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