1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Update to 1.0.1.

This commit is contained in:
Jeremy Messenger 2008-01-06 17:28:09 +00:00
parent 8bd5284a74
commit d8f95acc72
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=205109
3 changed files with 26 additions and 21 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= linuxdcpp
PORTVERSION= 1.0.0
PORTVERSION= 1.0.1
CATEGORIES= net-p2p
MASTER_SITES= BERLIOS

View File

@ -1,3 +1,3 @@
MD5 (linuxdcpp-1.0.0.tar.bz2) = 33c3b0ae46772dec3142e35c30401a27
SHA256 (linuxdcpp-1.0.0.tar.bz2) = 2ae573a147a5021abc41a15ba34dd7b5575d949a4c261de2dc6aa0e6bab51fbf
SIZE (linuxdcpp-1.0.0.tar.bz2) = 286815
MD5 (linuxdcpp-1.0.1.tar.bz2) = 5ead00a1c4d07958c784b2f365b7c395
SHA256 (linuxdcpp-1.0.1.tar.bz2) = 647448d41e8b24219bda4f286e2e6bef0eb956bd4f51e12cced18e3e94de1b38
SIZE (linuxdcpp-1.0.1.tar.bz2) = 282410

View File

@ -1,6 +1,6 @@
--- SConstruct.orig Sat Mar 24 13:33:17 2007
+++ SConstruct Sat Mar 24 18:13:16 2007
@@ -74,12 +74,24 @@
--- SConstruct.orig 2007-12-25 23:05:26.000000000 -0600
+++ SConstruct 2007-12-25 23:16:28.000000000 -0600
@@ -74,17 +74,23 @@
conf_dir = 'build/sconf',
log_file = 'build/sconf/config.log')
@ -8,32 +8,37 @@
+ env['CC'] = os.environ['CC']
+
if os.environ.has_key('CXX'):
env['CXX'] = os.environ['CXX']
- conf.env['CXX'] = os.environ['CXX']
+ env['CXX'] = os.environ['CXX']
+
+if os.environ.has_key('CCFLAGS'):
+ env['CCFLAGS'] = os.environ['CCFLAGS'].split()
+
if os.environ.has_key('CXXFLAGS'):
env['CXXFLAGS'] = os.environ['CXXFLAGS'].split()
if os.environ.has_key('CXXFLAGS'):
- conf.env['CPPFLAGS'] = conf.env['CXXFLAGS'] = os.environ['CXXFLAGS'].split()
+ env['CXXFLAGS'] = os.environ['CXXFLAGS'].split()
-if os.environ.has_key('LDFLAGS'):
- conf.env['LINKFLAGS'] = os.environ['LDFLAGS'].split()
+if os.environ.has_key('CPPPATH'):
+ env['CPPPATH'] = os.environ['CPPPATH'].split()
+
-if os.environ.has_key('CFLAGS'):
- conf.env['CFLAGS'] = os.environ['CFLAGS'].split()
+if os.environ.has_key('LIBPATH'):
+ env['LIBPATH'] = os.environ['LIBPATH'].split()
+
env.SConsignFile('build/sconf/.sconsign')
opts.Save('build/sconf/scache.conf', env)
Help(opts.GenerateHelpText(env))
@@ -125,11 +137,6 @@
@@ -132,11 +138,6 @@
if not conf.CheckHeader('unistd.h'):
Exit(1)
if not conf.CheckHeader('unistd.h'):
- Exit(1)
-
- if not conf.CheckLibWithHeader('pthread', 'pthread.h', 'c'):
- print '\tpthread library not found'
- print '\tNote: You might have the lib but not the headers'
Exit(1)
- Exit(1)
-
if not conf.CheckLibWithHeader('z', 'zlib.h', 'c'):
print '\tz library (gzip/z compression) not found'
print '\tNote: You might have the lib but not the headers'