> > > +.if ${ARCH} == "i386"
> > > +.endif
> > Please don't do that!
>
> Both of the following cc commands need option -fPIC in order
> to be able to build a shareable library:
>
> gcc -fPIC -Wl,-R/usr/local/lib/perl5/5.8.8/mach/CORE spamc/libspamc.c
>   spamc/utils.c  -o spamc/libspamc.so -shared  -L/usr/local/lib -lz
> gcc -fPIC -DSPAMC_SSL -Wl,-R/usr/local/lib/perl5/5.8.8/mach/CORE
>   spamc/libspamc.c spamc/utils.c  -o spamc/libsslspamc.so
>   -shared  -L/usr/local/lib -lssl -lcrypto -lz
> This way it will build on any architecture, not just on Intel in 32-bit
> mode.

> This seem to be a SpamAssassin issue, and is not specific to FreeBSD ports.

Now on:
  http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5515

Mark

Reply via email to