Date: Mon, 14 Jun 2004 18:19:40 -0300 From: Fernan Aguero <fernan@iib.unsam.edu.ar> To: FreeBSD Ports <ports@FreeBSD.ORG> Subject: binary port: how to deal with 4.x vs 5.x? Message-ID: <20040614211940.GK38347@iib.unsam.edu.ar>
next in thread | raw e-mail | index | archive | help
Hi! I have an almost complete port of WU BLAST (http://blast.wustl.edu), which is only distributed as pre-compiled binaries. Warren Gish has produced binaries for both freebsd-4.x and 5.x. Currently my port only installs the one for 4.x Is it possible to use the same port Makefile and set two different DISTNAMEs based on the OS version? The contents of the two files are similar, they're just linked against different libraries (libc_r is one if I remember correctly). I have already tried something along the lines of: .if __FreeBSD_version < 500000 DISTNAME= xxxx .else DISTNAME= yyyy .endif but it didn't work as expected. Any idea? Thanks, Fernan -- F e r n a n A g u e r o http://genoma.unsam.edu.ar/~fernan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040614211940.GK38347>