diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2006-03-28 16:08:37 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2006-03-28 16:08:37 +0000 |
commit | 47d0a95582bc44482e3a3c75a69758f95d3821e9 (patch) | |
tree | f5027ad00315b576034cae50d8c32a8b44392425 /security | |
parent | - Install libcrmf (needed for firefox 2.0) (diff) |
Teach the mod_install utility to not remove the shared object when
de-registering a BSP module from the BioAPI registry.
This is needed when adding BSP modules to the ports tree, as both
the ports system and mod_install will try to remove the file on de-install.
PR: ports/95028
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=158329
Diffstat (limited to 'security')
-rw-r--r-- | security/bioapi/Makefile | 2 | ||||
-rw-r--r-- | security/bioapi/files/patch-apps-mod_install-install.c | 13 |
2 files changed, 13 insertions, 2 deletions
diff --git a/security/bioapi/Makefile b/security/bioapi/Makefile index 91473bd455b5..40da025fb5cf 100644 --- a/security/bioapi/Makefile +++ b/security/bioapi/Makefile @@ -7,7 +7,7 @@ PORTNAME= bioapi PORTVERSION= 1.2.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= security MASTER_SITES= http://www.qrivy.net/~michael/blua/bioapi/ \ http://shapeshifter.se/pub/bioapi/ diff --git a/security/bioapi/files/patch-apps-mod_install-install.c b/security/bioapi/files/patch-apps-mod_install-install.c index 9059b4851b8a..8bbb5c47b8f2 100644 --- a/security/bioapi/files/patch-apps-mod_install-install.c +++ b/security/bioapi/files/patch-apps-mod_install-install.c @@ -1,5 +1,5 @@ --- apps/mod_install/install.c Wed Jun 8 02:51:04 2005 -+++ apps/mod_install/install.c Fri Nov 25 18:08:54 2005 ++++ apps/mod_install/install.c Tue Mar 28 08:59:05 2006 @@ -370,8 +370,13 @@ #if defined (LINUX) || defined (SOLARIS) if ( ( Action == INSTALL_ACTION_INSTALL ) || ( Action == INSTALL_ACTION_REFRESH ) ) @@ -16,3 +16,14 @@ } if ( Action == INSTALL_ACTION_UNINSTALL ) { +@@ -496,10 +501,6 @@ + } + else if ( Action == INSTALL_ACTION_UNINSTALL ) + { +-/* Linux-Port: Added the Linux branch */ +-#if defined (LINUX) || defined (SOLARIS) +- DeleteFile(szDstPath); +-#endif + printf( "Module uninstalled successfully.\n" ); + } + else if ( Action == INSTALL_ACTION_REFRESH ) |