You were almost right: ${ARCH}.dave said:I need to be able to include either i386 or x64 in the MASTERSITES directive. Something like this:
Code:MATERSITES= http://some.site/dist/os/FreeBSD-${ARCHITECTURE}/
You might want to have a look in /usr/ports/Mk.dave said:And for future reference, where can I find a list of all the variables available in a port Makefile?
Perhaps there are more elegant solutions, but one way would be to use:dave said:Now how would I change "amd64" to "x64"?
${ARCH:C/amd/x/}