Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2006 16:55:22 +0900 (JST)
From:      NIIMI Satoshi <sa2c@sa2c.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/93626: [patch] net/samba3 net/samba-libsmbclient: libsmbclient is not installed when WRKDIRPREFIX is defined
Message-ID:  <20060221075522.31F481145E@berkeley.l.sa2c.net>
Resent-Message-ID: <200602210800.k1L80IsK063932@freefall.freebsd.org>

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

>Number:         93626
>Category:       ports
>Synopsis:       [patch] net/samba3 net/samba-libsmbclient: libsmbclient is not installed when WRKDIRPREFIX is defined
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 21 08:00:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     NIIMI Satoshi
>Release:        FreeBSD 6.0-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD berkeley.l.sa2c.net 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #3: Thu Feb 2 20:03:08 JST 2006 root@berkeley.l.sa2c.net:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:

In net/samba-libsmclient, Makefile includes ../samba3/Makefile, and
../samba3/Makefile includes samba-libsmbclient/Makefile.inc.

When WRKDIRPREFIX is defined, samba3/Makefile trys to include
${WRKDIRPREFIX}/usr/ports/net/samba-libsmbclient/Makefile.inc and
fails.

	
>How-To-Repeat:
cd /usr/ports/net/samba-libsmbclient; make WRKDIRPREFIX=/var/tmp install
	
>Fix:

	

--- samba3.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/samba3/Makefile,v
retrieving revision 1.147
diff -u -r1.147 Makefile
--- Makefile	19 Feb 2006 20:11:09 -0000	1.147
+++ Makefile	21 Feb 2006 07:41:43 -0000
@@ -85,8 +85,8 @@
 			--without-pam --without-pam_smbpass --without-aio-support
 
 # Dirty hack to work around usage of OPTIONS in slave ports
-.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
-.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
+.if exists(${.CURDIR}/Makefile.inc)
+.include "${.CURDIR}/Makefile.inc"
 .endif
 
 .else
--- samba3.diff ends here ---


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



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