|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Pechenin Alexander 2:5020/400 16 Mar 2007 10:04:58 To : Auster Subject : Re: clamav & memory size -------------------------------------------------------------------------------- "Auster" <lrou@x.ua> сообщил/сообщила в новостях следующее: news:newscache$m2wyej$cdj$1@gran.x.ua... > Pechenin Alexander <pechenin@mrrc.obninsk.ru> wrote: >> 0.90.1 без танцев с бубном опять собираться не хочет из портов? > ... >> configure: error: C compiler cannot create executables > > > --- security/clamav/Makefile.orig > +++ security/clamav/Makefile > @@ -30,10 +30,6 @@ > USE_LDCONFIG= yes > USE_RC_SUBR= clamav-clamd clamav-freshclam > > -# This port has a problem with -pthread, > -# force to use -lthr until it's not fixed. > -PTHREAD_LIBS= -lthr > - > PORTDOCS= * > > DBDIR= /var/db/clamav > @@ -102,8 +98,11 @@ > > .include <bsd.port.pre.mk> > > -.if ${OSVERSION} == 502010 > -PTHREAD_LIBS= -pthread > +.if ${OSVERSION} < 500000 > +PTHREAD_CFLAGS= -D_THREAD_SAFE > +PTHREAD_LIBS= -pthread > +.else > +PTHREAD_LIBS= -lthr > .endif > > .if defined(WITH_MILTER) > > patch < patch-makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- security/clamav/Makefile.orig |+++ security/clamav/Makefile -------------------------- Patching file Makefile using Plan A... Hunk #1 failed at 30. Hunk #2 failed at 98. 2 out of 2 hunks failed--saving rejects to Makefile.rej done --- ifmail v.2.15dev5.3 * Origin: Ye 'Ol Disorganized NNTPCache groupie (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/1050983c9df45.html, оценка из 5, голосов 10
|