Index: Makefile =================================================================== RCS file: /ncvs/ports/astro/boinc-astropulse/Makefile,v retrieving revision 1.7 diff -u -r1.7 Makefile --- Makefile 17 Mar 2011 23:28:09 -0000 1.7 +++ Makefile 18 Mar 2011 13:19:47 -0000 @@ -19,11 +19,6 @@ BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3 \ ${NONEXISTENT}:${PORTSDIR}/astro/boinc-setiathome-enhanced:patch -# stolen and adapted from bsd.port.mk -.if (${OSVERSION} >= 900000 && ${OSVERSION} < 900012) || ${OSVERSION} < 800505 -BUILD_DEPENDS+= ${LOCALBASE}/bin/xz:${PORTSDIR}/archivers/xz -.endif - RUN_DEPENDS= boinc_client:${PORTSDIR}/net/boinc-client LIB_DEPENDS= fftw3f:${PORTSDIR}/math/fftw3-float @@ -48,6 +43,10 @@ #OPTIONS= X11 "Build screensaver (requires net/boinc-client with X11)" on .include +# stolen and adapted from bsd.port.mk +.if (${OSVERSION} >= 900000 && ${OSVERSION} < 900012) || ${OSVERSION} < 800505 +BUILD_DEPENDS+= ${LOCALBASE}/bin/xz:${PORTSDIR}/archivers/xz +.endif # TODO fix upstream .if defined(WITHOUT_X11)