ports/50544: Port net/libconnect installation problem fix

Alex Semenyaka alexs at snark.ratmir.ru
Wed Apr 2 13:30:15 UTC 2003


>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 at 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:



More information about the freebsd-ports-bugs mailing list