From walter.pelissero@iesy.net  Wed Apr 14 13:30:40 2010
Return-Path: <walter.pelissero@iesy.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 187B5106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 14 Apr 2010 13:30:40 +0000 (UTC)
	(envelope-from walter.pelissero@iesy.net)
Received: from mail01.ish.de (mailout.ish.de [80.69.98.254])
	by mx1.freebsd.org (Postfix) with ESMTP id A4A9E8FC17
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 14 Apr 2010 13:30:38 +0000 (UTC)
Received: from [95.222.206.96] (account walter.pelissero@iesy.net HELO zaphod.home.loc)
  by mail-fe-01.mail01.ish.de (CommuniGate Pro SMTP 5.2.18)
  with ESMTPSA id 343822739 for FreeBSD-gnats-submit@freebsd.org; Wed, 14 Apr 2010 15:30:36 +0200
Received: from zaphod.home.loc (localhost [127.0.0.1])
	by zaphod.home.loc (8.14.4/8.14.4) with ESMTP id o3EDUMH8014913
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 14 Apr 2010 15:30:22 +0200 (CEST)
	(envelope-from wcp@zaphod.home.loc)
Received: (from wcp@localhost)
	by zaphod.home.loc (8.14.4/8.14.4/Submit) id o3EDUMSR014912;
	Wed, 14 Apr 2010 15:30:22 +0200 (CEST)
	(envelope-from wcp)
Message-Id: <201004141330.o3EDUMSR014912@zaphod.home.loc>
Date: Wed, 14 Apr 2010 15:30:22 +0200 (CEST)
From: "Walter C. Pelissero" <walter.pelissero@iesy.net>
Reply-To: walter@pelissero.de
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: editors/semi doesn't compile
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         145700
>Category:       ports
>Synopsis:       editors/semi doesn't compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pgollucci
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 14 13:40:02 UTC 2010
>Closed-Date:    Sat Feb 11 23:28:43 UTC 2012
>Last-Modified:  Sat Feb 11 23:30:16 UTC 2012
>Originator:     Walter C. Pelissero
>Release:        FreeBSD 7.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD zaphod.home.loc 7.3-STABLE FreeBSD 7.3-STABLE #0: Fri Apr 9 23:37:02 CEST 2010 root@zaphod.home.loc:/usr/home/obj/usr/src/sys/TYAN-TIGER-MP i386


	
>Description:
	If the obj directory is different from /usr/ports editors/sine
	can't compile, because the make process expects the Makefile in
	the same directory.
>How-To-Repeat:
	cd /usr/ports/editors/semi
	setenv WRKDIRPREFIX /some/directory/other/than/usr/ports
	make
>Fix:

	Apply the following patch:

--- Makefile	2010-03-28 08:34:08.000000000 +0200
+++ /tmp/Makefile	2010-04-14 15:02:38.000000000 +0200
@@ -74,35 +74,35 @@
 
 pre-build:
 .if defined(EMACS_PACKAGESDIR) && defined(XEMACS_PKGNAME)
-	@${MAKE} pkg-el-copy
+	cd ${MASTERDIR}; ${MAKE} pkg-el-copy
 .endif
 
 post-build:
 .if defined(BUILD_INFO_BY_EMACS) && (${BUILD_INFO_BY_EMACS} == "YES")
-	@${MAKE} info-build-by-emacs
+	cd ${MASTERDIR}; ${MAKE} info-build-by-emacs
 .else
-	@${MAKE} info-build
+	cd ${MASTERDIR}; ${MAKE} info-build
 .endif
 
 pre-install:
 .if defined(EMACS_PACKAGESDIR) && defined(EMACS_PACKAGES_SUBDIRS)
-	@${MAKE} mkdir-site-packages
+	cd ${MASTERDIR}; ${MAKE} mkdir-site-packages
 .endif
 .if defined(EMACS_PACKAGESDIR) && defined(XEMACS_PKGNAME)
-	@${MAKE} pkg-el-install
+	cd ${MASTERDIR}; ${MAKE} pkg-el-install
 .endif
 
 post-install:
 	@${MKDIR} ${LOCALBASE}/share/semi
 	@${TOUCH} ${LOCALBASE}/share/semi/${SEMI_COOKIE}
 .if defined(EMACS_PACKAGESDIR) && defined(MANIFEST)
-	@${MAKE} info-package-install
-	@${MAKE} manifest-install
+	cd ${MASTERDIR}; ${MAKE} info-package-install
+	cd ${MASTERDIR}; ${MAKE} manifest-install
 .else
-	@${MAKE} info-install
+	cd ${MASTERDIR}; ${MAKE} info-install
 .endif
 .if !defined(NOPORTDOCS)
-	@${MAKE} doc-install
+	cd ${MASTERDIR}; ${MAKE} doc-install
 .endif
 
 ###############################################################################
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->nobutaka 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Apr 14 13:41:23 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=145700 
State-Changed-From-To: open->closed 
State-Changed-By: pgollucci 
State-Changed-When: Sat Feb 11 23:28:42 UTC 2012 
State-Changed-Why:  
Committed, Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=145700 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/145700: commit references a PR
Date: Sat, 11 Feb 2012 23:28:53 +0000 (UTC)

 pgollucci    2012-02-11 23:28:39 UTC
 
   FreeBSD ports repository
 
   Modified files:
     editors/semi         Makefile 
   Log:
   - Support WRKDIRPREFIX other then /usr/ports
   
   PR:             ports/145700
   Submitted by:   Walter C. Pelissero <walter.pelissero@iesy.net>
   Approved by:    maintainer timeout (nobutaka ; 669 days!)
   
   Revision  Changes    Path
   1.48      +9 -9      ports/editors/semi/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
