Date: Sat, 17 Jul 2010 01:22:54 +0400 From: Anonymous <swell.k@gmail.com> To: Josh Paetzel <jpaetzel@FreeBSD.org> Cc: cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/net/freeswitch-core Makefile Message-ID: <86lj9bm89d.fsf@gmail.com> In-Reply-To: <201007161729.o6GHT5Kg078890@repoman.freebsd.org> (Josh Paetzel's message of "Fri, 16 Jul 2010 17:29:05 %2B0000 (UTC)") References: <201007161729.o6GHT5Kg078890@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Josh Paetzel <jpaetzel@FreeBSD.org> writes: > jpaetzel 2010-07-16 17:29:05 UTC > > FreeBSD ports repository > > Modified files: > net/freeswitch-core Makefile > Log: > Move check for OSVERSION to a better place in the Makefile OSVERSION is defined in bsd.port.mk, not before. $ make "Makefile", line 67: Malformed conditional (${OSVERSION} < 700000) "Makefile", line 69: if-less endif make: fatal errors encountered -- cannot continue %% Index: Makefile =================================================================== RCS file: /a/.cvsup/ports/net/freeswitch-core/Makefile,v retrieving revision 1.5 diff -u -p -r1.5 Makefile --- Makefile 16 Jul 2010 17:29:05 -0000 1.5 +++ Makefile 16 Jul 2010 21:21:29 -0000 @@ -64,10 +64,6 @@ CONFIGURE_ENV+= CPPFLAGS="${CXXFLAGS} -I USE_LDCONFIG= yes CPPFLAGS+= -I${PREFIX}/include -.if ${OSVERSION} < 700000 -IGNORE= freeswitch is only supported on FreeBSD 7 or newer -.endif - FREESWITCH_USER= freeswitch FREESWITCH_GROUP= ${FREESWITCH_USER} @@ -122,6 +118,10 @@ OPTIONS= MODSHOUT "Enable mod_sho .include <bsd.port.options.mk> +.if ${OSVERSION} < 700000 +IGNORE= freeswitch is only supported on FreeBSD 7 or newer +.endif + .if ${ARCH} == "amd64" CFLAGS+= -fPIC .endif %% > > Revision Changes Path > 1.5 +4 -5 ports/net/freeswitch-core/Makefile
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86lj9bm89d.fsf>