mail/py-milter trouble (pkg_add vs. make install)
Georg Graf
georg.graf at wu-wien.ac.at
Thu Jul 10 06:41:30 PDT 2003
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
+ at cwd .
+ at ignore
++COMMENT
+ at ignore
++DESC
+ at ignore
++MTREE_DIRS
+ at mtree +MTREE_DIRS
#
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Thank you,
George
--
Vienna University of Economics and Business Administration
Center for Computer Services
PGP/GPG Key ID: 0xa5232ad5
More information about the freebsd-ports
mailing list