Hi everyone, Can anyone enlighten me as to why this following make fragment doesn't work? It falls through to .else.
PKGNAMESUFFIX= -devel .if defined(PKGNAMESUFFIX) && !empty(PKGNAMESUFFIX) MASTER_SITES= http://www.fwbuilder.org/nightly_builds/fwbuilder-5.0/build- ${BUILD}/ PORTVERSION= ${DISTVERSION}.b${BUILD} .else MASTER_SITES= SF/${PORTNAME}/Current_Packages/${PORTVERSION} DISTVERSIONSUFFIX= .${BUILD} .endif If I replace PKGNAMESUFFIX= -devel and the .if defined... with PKGNAMESUFFIX= "-devel" .if defined(PKGNAMESUFFIX) && ${PKGNAMESUFFIX} == "-devel" it works. -- Cheers, Cy Schubert <[email protected]> FreeBSD UNIX: <[email protected]> Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few. _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[email protected]"
