Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2003 15:41:27 +0200
From:      Georg Graf <georg.graf@wu-wien.ac.at>
To:        ports@freebsd.org
Subject:   mail/py-milter trouble (pkg_add vs. make install)
Message-ID:  <20030710134127.GE57710@wu-wien.ac.at>

next in thread | raw e-mail | index | archive | help
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



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