request version (700p3 - 702) update of print/pdflib

2007-08-21 Thread snowcrash+freebsd
current ports tree refers to,

PDFlib-Lite-7.0.0p3.tar.gz

apparently deprecated ... and no longer available for DL,

currently available @,

http://www.pdflib.com/binaries/PDFlib/702/

is a more recent,

   PDFlib-Lite-7.0.2.tar.gz


simple changes of,

 vi Makefile

   @9
   ---  PORTVERSION=7.0.0p3
   +++  PORTVERSION=7.0.2

 cat distinfo
  MD5 (PDFlib-Lite-7.0.2.tar.gz) = 0d3410cfacdd6cc80dd2e89770f5a40d
  SHA256 (PDFlib-Lite-7.0.2.tar.gz) =
4292bfb2d02915897596099779021d99a4819098fe56bcffb00ecf183f3907f7
  SIZE (PDFlib-Lite-7.0.2.tar.gz) = 5478372

seem to do the trick.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


mod_perl2 port misses existing BSD::Resource dependency

2007-08-14 Thread snowcrash+freebsd
hi,

i've fbsd 62Rp7 installed, with perl 588  mod_perl2 installed from ports.

perl modules are installed by CPAN, *not* using ports (p5-*).

i've successfully installed BSD::Resource -- a dependency of
mod_perl2 -- via CPAN,

module_info BSD::Resource
Name:BSD::Resource
Version: 1.28
Directory:   /usr/local/lib/perl5/site_perl/5.8.8/mach
File:
/usr/local/lib/perl5/site_perl/5.8.8/mach/BSD/Resource.pm
Core module: no

despite BSD::Resource being installed/available, every time I do the
'update ports' mambo,

portsnap fetch update
pkgdb --autofix --fix-lost
pkgdb -F
portupgrade  --verbose --recursive --upward-recursive --all

i'm faced with a stale dependency warning,

...
---  Checking the package registry database
Stale dependency: mod_perl2-2.0.3_2,3 - p5-BSD-Resource-1.28
(devel/p5-BSD-Resource):
Skipped. (running in non-interactive mode; specify -i to ask)
---  Checking the package registry database
Stale dependency: mod_perl2-2.0.3_2,3 - p5-BSD-Resource-1.28
(devel/p5-BSD-Resource):
Install stale dependency? ([y]es/[n]o/[a]ll) [yes] no
New dependency? (? to help):
Delete this? ([y]es/[n]o/[a]ll) [yes] yes
Deleted.
...

which I delete.  apparetnly, not persistently ... as it reappears @
the next port update.

how do i convince my port system to stop whining about the stale
dependency, or -- better yet -- recognize the existing CPAN module?

although i'm /hoping/ it's something in/with ports-mgmt, i /suspect/
it needs to be addressed in the port itself.

thanks!
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


request add db45/db46 support to www/apache22 port

2007-08-14 Thread snowcrash+freebsd
hi,

with db45/db46 now in ports and supported in make.conf, can we get
port(www/apache22) updated as well?

looks simple, namely:

 vi Makefile.modules
=
@95
.   elif ${WITH_BERKELEYDB} == db44
LIB_DEPENDS+=   db-4.4:${PORTSDIR}/databases/db44
CONFIGURE_ARGS+=--with-dbm=db44 \

--with-berkeley-db=${LOCALBASE}/include:${LOCALBASE}/lib/db44
+++ .   elif ${WITH_BERKELEYDB} == db45
+++ LIB_DEPENDS+=   db-4.5:${PORTSDIR}/databases/db45
+++ CONFIGURE_ARGS+=--with-dbm=db45 \
+++ 
--with-berkeley-db=${LOCALBASE}/include:${LOCALBASE}/lib/db45
+++ .   elif ${WITH_BERKELEYDB} == db46
+++ LIB_DEPENDS+=   db-4.6:${PORTSDIR}/databases/db46
+++ CONFIGURE_ARGS+=--with-dbm=db46 \
+++ 
--with-berkeley-db=${LOCALBASE}/include:${LOCALBASE}/lib/db46
.   else
IGNORE= Unknown Berkeley DB version
=

though some clever soul might suggest that it be changed to
automatically pick the BDB settings 

thanks!
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


request add db45/db46 support to mail/exim port

2007-08-11 Thread snowcrash+freebsd
hi,

i've fbsd 62Rp7 installed.

i've updated my sys to use db46 (berkeley db), and set
WITH_BDB_VER/USE_BDB/etc accordingly in make.conf ...

current portupgrade complains:

 ** Port marked as IGNORE: mail/exim:
 is marked as broken: WITH_BDB_VER must be either 1, 4, 41, 42, 43 or 44

fix seems trivial,

--
diff -ur eximORIG/Makefile exim/Makefile
--- eximORIG/Makefile   Wed Aug  8 19:07:15 2007
+++ exim/Makefile   Wed Aug  8 19:10:30 2007
@@ -347,8 +347,12 @@
 DB_LIBS=   -L${LOCALBASE}/lib -ldb-4.4
 DB_INCLUDES=   -I${LOCALBASE}/include/db44
 LIB_DEPENDS+=  db-4.4.0:${PORTSDIR}/databases/db44
+.elif (${WITH_BDB_VER} == 45)
+DB_LIBS=-L${LOCALBASE}/lib -ldb-4.5
+DB_INCLUDES=-I${LOCALBASE}/include/db45
+LIB_DEPENDS+=   db-4.5.0:${PORTSDIR}/databases/db45
+.elif (${WITH_BDB_VER} == 46)
+DB_LIBS=-L${LOCALBASE}/lib -ldb-4.6
+DB_INCLUDES=-I${LOCALBASE}/include/db46
+LIB_DEPENDS+=   db-4.6.0:${PORTSDIR}/databases/db46
 .else
-BROKEN=WITH_BDB_VER must be either 1, 4, 41, 42, 43 or 44
+BROKEN=WITH_BDB_VER must be either 1, 4, 41, 42, 43,
44, 45 or 46
 .endif
 SEDLIST+=  -e 's,XX_DB_LIBS_XX,${DB_LIBS},' \
-e 's,XX_DB_INCLUDES_XX,${DB_INCLUDES},'
--


thanks.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: request add db45/db46 support to mail/exim port

2007-08-11 Thread snowcrash+freebsd
 exim will automatically pick up with bsd.database.mk changes.

ah. got it.

thx!
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: request add db45/db46 support to mail/exim port

2007-08-11 Thread snowcrash+freebsd
 I have now fixed it so that the exim port doesn't need to set WITH_BDB_VER?=1 
 anymore.  Instead setting either WITH_BDB or WITH_BDB_VER  1 will make the 
 port use Mk/bsd.database.mk to choose the version of BDB to use, otherwise it 
 will default to the system BDB.

 The updated patch is in PR 115427:

  http://www.freebsd.org/cgi/query-pr.cgi?pr=115427

great!

Thanks!
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


help re: stale dependies? some ports not finding cpan-installed perl-modules

2007-08-09 Thread snowcrash+freebsd
hi,

i started to use portupgrade to manage ports on a freebsd 62-RELEASE,
p7 install.

i've installed perl58 from ports, and manage perl module installs with
an up-to-date (v1.9102) CPAN.

i'm building www/mod_perl2 port on freebsd 62rp7.  perl 588 is
installed from ports, as well.

my port upgrade process,

  portsnap fetch update
  pkgdb --autofix --fix-lost
  pkgdb -F
  portupgrade --verbose --recursive --upward-recursive --all

is straightforward and mostly problem-free.

but, for some (not all) ports that depend on perl-modules, during the
update process i get Stale Depndency warnings.

for example, in the case of mod_perl2, i see,

...
Stale dependency: mod_perl2-2.0.3_2,3 - p5-BSD-Resource-1.28
(devel/p5-BSD-Resource):
Install stale dependency? ([y]es/[n]o/[a]ll) [yes] no
New dependency? (? to help):
Delete this? ([y]es/[n]o/[a]ll) [yes]
Deleted.
...

now, looking in the mod_perl2 port's Makefile, i find,

BUILD_DEPENDS=
${SITE_PERL}/${PERL_ARCH}/BSD/Resource.pm:${PORTSDIR}/devel/p5-BSD-Resource

which looks to me like it should be checking for  finding
BSD::Resource if it's installed via CPAN.

checking on my system,

module_info BSD::Resource
Name:BSD::Resource
Version: 1.28
Directory:   /usr/local/lib/perl5/site_perl/5.8.8/mach
File:
/usr/local/lib/perl5/site_perl/5.8.8/mach/BSD/Resource.pm
Core module: no

and,

pkg_info | grep ^p5
(empty)

given the src above (similar to other modules that are having issues
...), should not -- in this case -- mod_perl2 be 'happy' with the
installed BSD::Resource?

thanks!
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: coredump on portupgrade of installed ruby-1.8.6, 1 to ruby-1.8.6_1, 1

2007-07-12 Thread snowcrash+freebsd

hi,


Builds fine with your cflags on i386/current.

Could you, please, send me your `dmesg` output as well as the coredump
along with the executable,  that produces it?


@:

% make

...
/usr/local/libexec/ccache/cc -O2 -pipe -funroll-loops -s
-frename-registers -fomit-frame-pointer -march=pentium-mmx   -fPIC
-DRUBY_EXPORT  -rdynamic -L.   main.o  libruby18-static.a -lcrypt -lm
-rpath=/usr/local/lib -pthread  -o miniruby
./lib/fileutils.rb:1236: [BUG] Segmentation fault
ruby 1.8.6 (2007-03-13) [i386-freebsd6]

Abort trap (core dumped)
*** Error code 134

Stop in /usr/ports/lang/ruby18/work/ruby-1.8.6.
*** Error code 1

Stop in /usr/ports/lang/ruby18.



% dmesg

Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE-p5 #2: Mon Jun  4 12:15:53 PDT 2007
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM_ROUTER
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Geode(TM) Integrated Processor by National Semi (266.64-MHz 586-class CPU)
 Origin = Geode by NSC  Id = 0x540  Stepping = 0
 Features=0x808131FPU,TSC,MSR,CX8,CMOV,MMX
real memory  = 268435456 (256 MB)
avail memory = 257470464 (245 MB)
cpu0 on motherboard
pcib0: Host to PCI bridge pcibus 0 on motherboard
pci0: PCI bus on pcib0
sis0: NatSemi DP8381[56] 10/100BaseTX port 0xe100-0xe1ff mem
0xa000-0xafff irq 10 at device 6.0 on pci0
sis0: Silicon Revision: DP83816A
miibus0: MII bus on sis0
ukphy0: Generic IEEE 802.3u media interface on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis0: Ethernet address: xx:xx:xx:xx:xx:xx
sis1: NatSemi DP8381[56] 10/100BaseTX port 0xe200-0xe2ff mem
0xa0001000-0xa0001fff irq 10 at device 7.0 on pci0
sis1: Silicon Revision: DP83816A
miibus1: MII bus on sis1
ukphy1: Generic IEEE 802.3u media interface on miibus1
ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis1: Ethernet address: xx:xx:xx:xx:xx:xx
sis2: NatSemi DP8381[56] 10/100BaseTX port 0xe300-0xe3ff mem
0xa0002000-0xa0002fff irq 10 at device 8.0 on pci0
sis2: Silicon Revision: DP83816A
miibus2: MII bus on sis2
ukphy2: Generic IEEE 802.3u media interface on miibus2
ukphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis2: Ethernet address: xx:xx:xx:xx:xx:xx
Geode GPIO@ = 6100
Geode Soekris net4801 comBIOS ver. 1.30 20070326 Copyright (C) 2000-2007
isab0: PCI-ISA bridge port 0x6100-0x613f,0x6200-0x623f at device 18.0 on pci0
isa0: ISA bus on isab0
pci0: bridge at device 18.1 (no driver attached)
atapci0: National Geode SC1100 ATA33 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 18.2 on
pci0
ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
Geode CBA@ 0x6000
Geode rev: 06 03
Timecounter Geode frequency 2700 Hz quality 1000
pci0: bridge at device 18.5 (no driver attached)
ohci0: OHCI (generic) USB controller mem 0xa0003000-0xa0003fff irq
11 at device 19.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: (0x0e11) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
pmtimer0 on isa0
orm0: ISA Option ROM at iomem 0xc8000-0xd0fff on isa0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: unable to get the current command byte value.
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
Timecounters tick every 10.000 msec
ad0: 38154MB HTS541040G9AT00 MB2OA60A at ata0-master UDMA33
Trying to mount root from ufs:/dev/ad0s1a
sis1: discard oversize frame (ether type 8864 flags 3 len 1510  max 1506)
sis1: discard oversize frame (ether type 8864 flags 3 len 1514  max 1506)
sis1: discard oversize frame (ether type 8864 flags 3 len 1514  max 1506)
sis1: discard oversize frame (ether type 8864 flags 3 len 1514  max 1506)
sis1: discard oversize frame (ether type 8864 flags 3 len 1514  max 1506)
sis1: discard oversize frame (ether type 8864 flags 3 len 1514  max 1506)
sis1: discard oversize frame (ether type 8864 flags 3 len 1514  max 1506)
sis1: discard oversize frame (ether type 8864 flags 3 len 1514  max 1506)
sis1: discard oversize frame (ether type 8864 flags 3 len 1514  max 1506)
sis1: discard oversize frame (ether type 8864 flags 3 len 1514  max 1506)
sis1: discard oversize frame (ether type 8864 flags 3 len 1514  max 1506)
sis1: discard oversize frame (ether type 8864 flags 3 len 1514  max 1506)
sis1: discard oversize frame (ether type 8864 flags 3 len 1514  max 1506)
Waiting (max 60 

coredump on portupgrade of installed ruby-1.8.6, 1 to ruby-1.8.6_1, 1

2007-07-11 Thread snowcrash+freebsd

on an install of,

uname -a
 FreeBSD router.mydomain.com 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5
#2: Mon Jun  4 12:15:53 PDT 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM_ROUTER  i386

attempting a portupgrade with,

portsnap fetch update
pkgdb --autofix --fix-lost
pkgdb -F
portupgrade   --verbose --recursive --upward-recursive --all

fails with a coredump at,


---  Upgrade of lang/ruby18 started at: Wed, 11 Jul 2007 10:08:35 -0700
---  Upgrading 'ruby-1.8.6,1' to 'ruby-1.8.6_1,1' (lang/ruby18)
---  Build of lang/ruby18 started at: Wed, 11 Jul 2007 10:08:35 -0700
---  Building '/usr/ports/lang/ruby18'
===  Cleaning for ruby-1.8.6_1,1
===  Extracting for ruby-1.8.6_1,1
= MD5 Checksum OK for ruby/ruby-1.8.6.tar.bz2.
= SHA256 Checksum OK for ruby/ruby-1.8.6.tar.bz2.
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6/ext/dl/h2rb
/usr/ports/lang/ruby18/work/ruby-1.8.6/bin/
===  Patching for ruby-1.8.6_1,1
===  Applying FreeBSD patches for ruby-1.8.6_1,1
/usr/bin/sed -i.bak -e 's|-l$pthread_lib|-pthread|g'
/usr/ports/lang/ruby18/work/ruby-1.8.6/configure
/bin/rm -rf /usr/ports/lang/ruby18/work/ruby-1.8.6/ext/Win32API
/bin/rm -rf /usr/ports/lang/ruby18/work/ruby-1.8.6/ext/win32ole
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6/ext/gdbm
/usr/ports/lang/ruby18/work/
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6/ext/iconv
/usr/ports/lang/ruby18/work/
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6/ext/tk
/usr/ports/lang/ruby18/work/
===   ruby-1.8.6_1,1 depends on file: /usr/local/lib/libcrypto.so.5 - found
===  Configuring for ruby-1.8.6_1,1
/usr/bin/touch /usr/ports/lang/ruby18/work/ruby-1.8.6/configure
configure: WARNING: you should use --build, --host, --target
checking build system type... i386-portbld-freebsd6
checking host system type... i386-portbld-freebsd6
checking target system type... i386-portbld-freebsd6
checking for i386-portbld-freebsd6-gcc... /usr/local/libexec/ccache/cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/local/libexec/ccache/cc accepts -g... yes
checking for /usr/local/libexec/ccache/cc option to accept ISO C89...
none needed
checking how to run the C preprocessor... /usr/local/libexec/ccache/cc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether /usr/local/libexec/ccache/cc needs -traditional... no
checking whether the linker is GNU ld... yes
checking whether /usr/local/libexec/ccache/cc -E accepts -o... yes
checking for bison... bison -y
checking for i386-portbld-freebsd6-ranlib... no
checking for ranlib... ranlib
checking for i386-portbld-freebsd6-ar... no
checking for ar... ar
checking for i386-portbld-freebsd6-as... no
checking for as... as
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for long long... yes
checking for off_t... yes
checking for int... yes
checking size of int... 4
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 4
checking for long long... (cached) yes
checking size of long long... 8
checking for __int64... no
checking size of __int64... 0
checking for off_t... (cached) yes
checking size of off_t... 8
checking for void*... yes
checking size of void*... 4
checking for float... yes
checking size of float... 4
checking for double... yes
checking size of double... 8
checking for time_t... yes
checking size of time_t... 4
checking for pid_t... yes
checking for gid_t... yes
checking for uid_t... yes
checking for prototypes... yes
checking token paste string... ansi
checking for variable length prototypes and stdarg.h... yes
checking for noreturn function attribute... __attribute__ ((noreturn)) x
checking for noinline function attribute... __attribute__ ((noinline)) x
checking for RUBY_EXTERN... no
checking whether sys_nerr is declared... yes
checking whether -lxpg4 has to be linked... no
checking for crypt in -lcrypt... yes
checking for dlopen in -ldl... no
checking for shl_load in -ldld... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none 

coredump on portupgrade of installed ruby-1.8.6, 1 to ruby-1.8.6_1, 1

2007-07-11 Thread snowcrash+freebsd

on an install of,

uname -a
FreeBSD router.mydomain.com 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5
#2: Mon Jun  4 12:15:53 PDT 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM_ROUTER  i386

attempting a portupgrade with,

portsnap fetch update
pkgdb --autofix --fix-lost
pkgdb -F
portupgrade   --verbose --recursive --upward-recursive --all

fails with a coredump at,


---  Upgrade of lang/ruby18 started at: Wed, 11 Jul 2007 10:08:35 -0700
---  Upgrading 'ruby-1.8.6,1' to 'ruby-1.8.6_1,1' (lang/ruby18)
---  Build of lang/ruby18 started at: Wed, 11 Jul 2007 10:08:35 -0700
---  Building '/usr/ports/lang/ruby18'
===  Cleaning for ruby-1.8.6_1,1
===  Extracting for ruby-1.8.6_1,1
= MD5 Checksum OK for ruby/ruby-1.8.6.tar.bz2.
= SHA256 Checksum OK for ruby/ruby-1.8.6.tar.bz2.
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6/ext/dl/h2rb
/usr/ports/lang/ruby18/work/ruby-1.8.6/bin/
===  Patching for ruby-1.8.6_1,1
===  Applying FreeBSD patches for ruby-1.8.6_1,1
/usr/bin/sed -i.bak -e 's|-l$pthread_lib|-pthread|g'
/usr/ports/lang/ruby18/work/ruby-1.8.6/configure
/bin/rm -rf /usr/ports/lang/ruby18/work/ruby-1.8.6/ext/Win32API
/bin/rm -rf /usr/ports/lang/ruby18/work/ruby-1.8.6/ext/win32ole
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6/ext/gdbm
/usr/ports/lang/ruby18/work/
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6/ext/iconv
/usr/ports/lang/ruby18/work/
/bin/mv /usr/ports/lang/ruby18/work/ruby-1.8.6/ext/tk
/usr/ports/lang/ruby18/work/
===   ruby-1.8.6_1,1 depends on file: /usr/local/lib/libcrypto.so.5 - found
===  Configuring for ruby-1.8.6_1,1
/usr/bin/touch /usr/ports/lang/ruby18/work/ruby-1.8.6/configure
configure: WARNING: you should use --build, --host, --target
checking build system type... i386-portbld-freebsd6
checking host system type... i386-portbld-freebsd6
checking target system type... i386-portbld-freebsd6
checking for i386-portbld-freebsd6-gcc... /usr/local/libexec/ccache/cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/local/libexec/ccache/cc accepts -g... yes
checking for /usr/local/libexec/ccache/cc option to accept ISO C89...
none needed
checking how to run the C preprocessor... /usr/local/libexec/ccache/cc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether /usr/local/libexec/ccache/cc needs -traditional... no
checking whether the linker is GNU ld... yes
checking whether /usr/local/libexec/ccache/cc -E accepts -o... yes
checking for bison... bison -y
checking for i386-portbld-freebsd6-ranlib... no
checking for ranlib... ranlib
checking for i386-portbld-freebsd6-ar... no
checking for ar... ar
checking for i386-portbld-freebsd6-as... no
checking for as... as
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for long long... yes
checking for off_t... yes
checking for int... yes
checking size of int... 4
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 4
checking for long long... (cached) yes
checking size of long long... 8
checking for __int64... no
checking size of __int64... 0
checking for off_t... (cached) yes
checking size of off_t... 8
checking for void*... yes
checking size of void*... 4
checking for float... yes
checking size of float... 4
checking for double... yes
checking size of double... 8
checking for time_t... yes
checking size of time_t... 4
checking for pid_t... yes
checking for gid_t... yes
checking for uid_t... yes
checking for prototypes... yes
checking token paste string... ansi
checking for variable length prototypes and stdarg.h... yes
checking for noreturn function attribute... __attribute__ ((noreturn)) x
checking for noinline function attribute... __attribute__ ((noinline)) x
checking for RUBY_EXTERN... no
checking whether sys_nerr is declared... yes
checking whether -lxpg4 has to be linked... no
checking for crypt in -lcrypt... yes
checking for dlopen in -ldl... no
checking for shl_load in -ldld... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none 

Re: exim PORT -- when to use? when to 'go manual'?

2007-06-04 Thread snowcrash+freebsd

hi,


 now, I want to upgrade exim on that router to add 'just'
 DNSBL-filtering on the router, and have it function as a transparent
 gateway to another lan-based, exim router.

Does that upgrade involve a different version of the exim tarball
than the one used in ports,


bad choice of words on my part :-/

nope. i simply mean, here, same version as ports, just turning on
the capability(ies) as i normally do in from-src builds in
Local/Makefile.

thos config params are, in the port, in ITS 'Makefile' ... hence,
config changes would be changing the included port files.  iiuc.


or is the change that you need somewhere else?


just in Makefile -- used for the COMPILE phase -- and local RUNTIME
config options like ip-per-domain specification, etc etc


 do folks recommend still using the PORT install?

It depends.


heh. yup.


Make your own patch of the port and keep that some place that won't
be over written by portsnap or whatever you use to keep your ports
tree up to date.

Then have a script that patches your port tree after you do such an
update.


hm.  now that you mention it, i suppose that the PORT /may/ be setup
to look for upgrade-proof config files in (non?)standard locations.
i'll dig-about and look ...

i admit, as great (!) as PORTS are, i'm just not yet used to NOT
'doing it all' myself.


Of course you should submit your patch to the port to the port
maintainer.


good point. thanks!
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


setting ENV VARs in make.conf/ports.conf ?

2007-04-23 Thread snowcrash+freebsd

hi,

i've installed FreeBSD v6.2-RELEASE, plus 'portconf'  'ccache' from ports.

i've setup,

/etc/make.conf
-
PERL_VER=5.8.8
PERL_VERSION=5.8.8
USE_OPENSSL_PORT=true
OPENSSLBASE=/usr/local
USE_OPENSSH_PORT=true
WITHOUT_X11=yes
CPUTYPE?=pentium-mmx

CFLAGS=  -O2 -pipe
COPTFLAGS=   -O2 -pipe

## Begin portconf settings
## Do not touch these lines
.if !empty(.CURDIR:M/usr/ports*)  exists(/usr/local/libexec/portconf)
 _PORTCONF!=/usr/local/libexec/portconf
 .for i in ${_PORTCONF:S/|/ /g}
  ${i:S/%/ /g}
 .endfor
.endif
## End portconf settings

.if !defined(NOCCACHE)
 CC=/usr/local/libexec/ccache/cc
 CXX=/usr/local/libexec/ccache/c++
 CPP=/usr/local/libexec/ccache/cpp
.endif
-

so that i can turn OFF use of ccache for individual ports.

i find that different ports 'respond' only to specific ways of setting
the NOCCACHE var.

e.g., in,

cat /usr/local/etc/ports.conf
-
*:\
CFLAGS= -O2 -pipe -funroll-loops -s -frename-registers
-fomit-frame-pointer | \
CXXFLAGS= -O2 -pipe -funroll-loops -s -frename-registers

databases/sqlite3-threads:NOCCACHE=true | \
  
WITHOUT_DEBUG=true|WITH_DOCS=true|WITH_FTS1=true|WITH_TCLWRAPPER=true|BATCH=Yes

sysutils/pflogx:MAKE_ENV= NOCCACHE=true | \
  WITH_EXPAT=true|BATCH=Yes
-

pflogx and sqlite3 require DIFFERENT specifications of NOCCACHE ...
swapping formate, e.g., causes the conditional .if
!defined(NOCCACHE) to fail; meaning, that the CC/CXX/CPP defs
pointing to ccahce/* are oncorrectly used.

is this expected/normal?  i would've expected the same method of
defining ENV VAR knobs ...

is there a _consistent_ way of turning off NOCCACHE via the ports.conf?

thanks!
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]