ports/93626: [patch] net/samba3 net/samba-libsmbclient: libsmbclient is not installed when WRKDIRPREFIX is defined

NIIMI Satoshi sa2c at sa2c.net
Tue Feb 21 08:00:20 UTC 2006


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



More information about the freebsd-ports-bugs mailing list