On Thu, Mar 17, 2011 at 11:28:09PM +0000, Rene Ladan wrote:
> rene        2011-03-17 23:28:09 UTC
> 
>   FreeBSD ports repository
> 
>   Modified files:
>     astro/boinc-astropulse Makefile 
>   Log:
>   Add archivers/xz as a build dependency on systems which do not have it
>   in the base system.  This fixes the package build.

dvl@ brought [1] to my attention recently.

The attached patch fixes it. Would you mind committing it?

[1]:
http://www.freshports.org/sanity_test_failures.php?message_id=201103172328.p2hns9rk065...@repoman.freebsd.org

-- WXS
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 <bsd.port.pre.mk>
+# 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)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to