diff -ruN /usr/ports/astro/boinc-setiathome/Makefile astro/boinc-setiathome/Makefile --- /usr/ports/astro/boinc-setiathome/Makefile Fri Apr 29 09:23:17 2005 +++ astro/boinc-setiathome/Makefile Fri Apr 29 09:26:01 2005 @@ -7,6 +7,7 @@ PORTNAME= boinc-setiathome PORTVERSION= 4.07.20050218 +PORTREVISION= 1 CATEGORIES= astro MASTER_SITES= http://setiweb.ssl.berkeley.edu/sah/seti_source/nightly/ \ ${MASTER_SITE_LOCAL} @@ -18,13 +19,6 @@ .include -# Disable GUI on FreeBSD 4.x until -# undefined reference to `boinc_init_graphics' -# is fixed -.if ${OSVERSION} < 500000 -WITHOUT_X11= yes -.endif - # Build with "make -DWITHOUT_X11" if you don't want the boincmgr # GUI management interface or the "screensaver" status displays # from any of the client applications. @@ -32,6 +26,13 @@ # Defining WITHOUT_X11 removes the dependencies on the X11 libs # and the glut and jpeg graphics libs. +# Disable GUI on FreeBSD 4.x until +# undefined reference to `boinc_init_graphics' +# is fixed +.if ${OSVERSION} < 500000 +WITHOUT_X11= yes +.endif + BUILD_DEPENDS+= ${LOCALBASE}/lib/boinc/boinc-client:${PORTSDIR}/net/boinc-client RUN_DEPENDS+= boinc:${PORTSDIR}/net/boinc-client LIB_DEPENDS+= fftw.2:${PORTSDIR}/math/fftw @@ -83,12 +84,12 @@ post-build: ${SED} -e "s:%%SETI_BINARY%%:${SETI_BINARY}:g" \ - < ${FILESDIR}/app_info.xml > ${WRKDIR}/app_info.xml + < ${FILESDIR}/app_info.xml > ${WRKDIR}/app_info.xml ${SED} -e "s:%%SETI_SITE%%:${SETI_SITE}:g" \ - -e "s:%%BOINC_HOME%%:${BOINC_HOME}:g" \ - -e "s:%%BOINC_USER%%:${BOINC_USER}:g" \ - -e "s:%%BOINC_GROUP%%:${BOINC_GROUP}:g" \ - < pkg-install > ${WRKDIR}/pkg-install + -e "s:%%BOINC_HOME%%:${BOINC_HOME}:g" \ + -e "s:%%BOINC_USER%%:${BOINC_USER}:g" \ + -e "s:%%BOINC_GROUP%%:${BOINC_GROUP}:g" \ + < pkg-install > ${WRKDIR}/pkg-install do-install: ${INSTALL_PROGRAM} ${WRKSRC}/client/`${FIND_SETI_BINARY}` ${PREFIX}/lib/boinc/${SETI_BINARY} diff -ruN /usr/ports/astro/boinc-setiathome/files/patch-configure.ac astro/boinc-setiathome/files/patch-configure.ac --- /usr/ports/astro/boinc-setiathome/files/patch-configure.ac Wed Dec 31 19:00:00 1969 +++ astro/boinc-setiathome/files/patch-configure.ac Thu Apr 28 10:48:52 2005 @@ -0,0 +1,11 @@ +--- configure.ac.orig Fri Feb 18 03:00:30 2005 ++++ configure.ac Thu Apr 28 10:47:23 2005 +@@ -154,7 +154,7 @@ + AC_CHECK_LIB([jpeg], [jpeg_start_decompress]) + SAH_CHECK_SETILIB + +-AM_CONDITIONAL(USE_MY_LIBJPEG, [test "${ac_cv_lib_jpeg_jpeg_start_decompress}" != yes]) ++AM_CONDITIONAL(USE_MY_LIBJPEG, [test "${enable_gui}" = yes -a "${ac_cv_lib_jpeg_jpeg_start_decompress}" != yes]) + dnl AC_CHECK_LIB([stdc++], [main]) + + SAH_REQUIRES([boinc],[SAH_CHECK_BOINC],["${no_boinc}" = yes],