diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-01-28 23:19:55 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-01-28 23:19:55 +0000 |
commit | f5cc0595c61784c93d67ca7b74d1930193980602 (patch) | |
tree | 089bceeec94df89b81f988490c26ffe15ebe17b8 /sysutils | |
parent | c63e8b7aad632c94e0ffc9c48987f720a44eed03 (diff) |
Notes
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/portmanager/Makefile | 4 | ||||
-rw-r--r-- | sysutils/portmanager/files/patch-0.2.4_2 | 27 |
2 files changed, 29 insertions, 2 deletions
diff --git a/sysutils/portmanager/Makefile b/sysutils/portmanager/Makefile index 85613701960a..39b2e81b6115 100644 --- a/sysutils/portmanager/Makefile +++ b/sysutils/portmanager/Makefile @@ -7,7 +7,7 @@ PORTNAME= portmanager PORTVERSION= 0.2.4 -PORTREVISION= 1 +PORTREVISION= 2 #----------------------------------------- #for local use, remove before submitting PR CATEGORIES= sysutils @@ -40,7 +40,7 @@ CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} INSTALLS_SHLIB= yes USE_REINPLACE= yes # Need INSTALL_TARGET to install /usr/local/etc/portmanager/pm-020.conf.SAMPLE -INSTALL_TARGET= install info +INSTALL_TARGET= install info post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \ diff --git a/sysutils/portmanager/files/patch-0.2.4_2 b/sysutils/portmanager/files/patch-0.2.4_2 new file mode 100644 index 000000000000..15ee816ad3c3 --- /dev/null +++ b/sysutils/portmanager/files/patch-0.2.4_2 @@ -0,0 +1,27 @@ +diff -ruN ./libMG/src/MGrIfFileExist.c ../portmanager-0.2.5/libMG/src/MGrIfFileExist.c +--- ./libMG/src/MGrIfFileExist.c Tue Jan 18 19:30:53 2005 ++++ ../portmanager-0.2.5/libMG/src/MGrIfFileExist.c Thu Jan 27 17:47:19 2005 +@@ -27,8 +27,9 @@ + int MGrIfFileExist( char* fileName ) + { + FILE* fileStream = NULL; +- +- if( ( fileStream = fopen( fileName, "r") ) ) ++ ++ fileStream = fopen( fileName, "r"); ++ if( fileStream ) + { + fclose( fileStream ); + return( 1 ); /* file does exist */ +diff -ruN ./libPMGR/src/PMGRrReadConfigure.c ../portmanager-0.2.5/libPMGR/src/PMGRrReadConfigure.c +--- ./libPMGR/src/PMGRrReadConfigure.c Wed Jan 26 22:00:03 2005 ++++ ../portmanager-0.2.5/libPMGR/src/PMGRrReadConfigure.c Thu Jan 27 17:52:49 2005 +@@ -112,7 +112,7 @@ + /***************************************************************************/ + /* if pm-020.conf missing then copy pm-020.conf.SAMPLE to pm-020.conf */ + /***************************************************************************/ +- if( !MGrIfFileExist( property->configDbFileName ) ) ++ if( !MGrIfFileExist( property->configConfFileName ) ) + { + stringSize = strlen( "cp " ) + + strlen( property->configConfFileName ) |