From owner-freebsd-ports@FreeBSD.ORG Thu Jul 10 06:41:29 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D584337B401 for ; Thu, 10 Jul 2003 06:41:29 -0700 (PDT) Received: from schurli.wu-wien.ac.at (schurli.wu-wien.ac.at [137.208.16.32]) by mx1.FreeBSD.org (Postfix) with SMTP id D0D5D43FD7 for ; Thu, 10 Jul 2003 06:41:28 -0700 (PDT) (envelope-from georg.graf@wu-wien.ac.at) Received: (qmail 74389 invoked by uid 1000); 10 Jul 2003 13:41:27 -0000 Date: Thu, 10 Jul 2003 15:41:27 +0200 From: Georg Graf To: ports@freebsd.org Message-ID: <20030710134127.GE57710@wu-wien.ac.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: mail/py-milter trouble (pkg_add vs. make install) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2003 13:41:30 -0000 Hi, I was given the maintainership for the ports/mail/py-milter port, and now (after skimming through the porters handbook) I discovered the following "problem": The "deinstall" target in the ports directory fails if the port has been installed with "pkg_add": It is not a big problem, but still, IMO this should be fixed. First i thought it is because the port uses DIST_SUBDIR= python USE_PYTHON= yes USE_PYDISTUTILS=yes The Makefile hierarchy is quite complex, and I'm not sure whether something is wrong with the port or the bsd.port.mk or bsd.python.mk Makefile. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= # make deinstall ===> Deinstalling for mail/py-milter ===> py22-milter-0.5.4 has a different PREFIX: /usr/local ., skipping # pkg_delete py22-milter-0.5.4 # # no problem here For tracking this I include a diff of the different directories in /var/db/pkg/: # diff -ruN py22-milter-0.5.4.install py22-milter-0.5.4.package diff -ruN py22-milter-0.5.4.install/+COMMENT py22-milter-0.5.4.package/+COMMENT --- py22-milter-0.5.4.install/+COMMENT Thu Jul 10 14:58:40 2003 +++ py22-milter-0.5.4.package/+COMMENT Thu Jul 10 14:59:25 2003 @@ -1 +1 @@ -Python interface to sendmail-8.1x milter API +Python interface to sendmail-8.1x milter API \ No newline at end of file diff -ruN py22-milter-0.5.4.install/+CONTENTS py22-milter-0.5.4.package/+CONTENTS --- py22-milter-0.5.4.install/+CONTENTS Thu Jul 10 14:58:40 2003 +++ py22-milter-0.5.4.package/+CONTENTS Thu Jul 10 14:59:25 2003 @@ -19,3 +19,11 @@ lib/python2.2/site-packages/mime.pyo @comment MD5:5cd5db03b667010bebd2c274df618189 @unexec if [ -f %D/info/dir ]; then if sed -e '1,/Menu:/d' %D/info/dir | grep -q '^[*] '; then true; else rm %D/info/dir; fi; fi +@cwd . +@ignore ++COMMENT +@ignore ++DESC +@ignore ++MTREE_DIRS +@mtree +MTREE_DIRS # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thank you, George -- Vienna University of Economics and Business Administration Center for Computer Services PGP/GPG Key ID: 0xa5232ad5