Picon

BSDBuild: r1009 - trunk

Author: vedge
Date: 2014-02-28 00:52:10 -0500 (Fri, 28 Feb 2014)
New Revision: 1009

Modified:
   trunk/build.man.mk
Log:
more ${DESTDIR}!! thanks bonsaikitten

Modified: trunk/build.man.mk
===================================================================
--- trunk/build.man.mk	2014-02-28 04:45:22 UTC (rev 1008)
+++ trunk/build.man.mk	2014-02-28 05:52:10 UTC (rev 1009)
 <at>  <at>  -287,79 +287,79  <at>  <at> 

 install-man-dirs:
 	 <at> if [ "${MANS}" != "       " ]; then \
-	    if [ ! -d "${MANDIR}" ]; then \
+	    if [ ! -d "${DESTDIR}${MANDIR}" ]; then \
 	        echo "${INSTALL_MAN_DIR} ${MANDIR}"; \
 	        ${SUDO} ${INSTALL_MAN_DIR} ${DESTDIR}${MANDIR}; \
 	    fi; \
-	    if [ ! -d "${MANDIR}/man1" ]; then \
+	    if [ ! -d "${DESTDIR}${MANDIR}/man1" ]; then \
 	        echo "${INSTALL_MAN_DIR} ${MANDIR}/man1"; \
 	        ${SUDO} ${INSTALL_MAN_DIR} ${DESTDIR}${MANDIR}/man1; \
 	    fi; \
-	    if [ ! -d "${MANDIR}/man2" ]; then \
+	    if [ ! -d "${DESTDIR}${MANDIR}/man2" ]; then \
 	        echo "${INSTALL_MAN_DIR} ${MANDIR}/man2"; \
(Continue reading)

Picon

BSDBuild: r1008 - trunk/ManReader

Author: vedge
Date: 2014-02-27 23:45:22 -0500 (Thu, 27 Feb 2014)
New Revision: 1008

Modified:
   trunk/ManReader/Makefile
Log:
honor DESTDIR, thanks bonsaikitten!

Modified: trunk/ManReader/Makefile
===================================================================
--- trunk/ManReader/Makefile	2014-01-22 15:42:18 UTC (rev 1007)
+++ trunk/ManReader/Makefile	2014-02-28 04:45:22 UTC (rev 1008)
 <at>  <at>  -5,23 +5,23  <at>  <at> 
 all:

 install:
-	 <at> if [ ! -d "${DATADIR}/ManReader" ]; then \
-	    echo "${INSTALL_DATA_DIR} ${DATADIR}/ManReader"; \
-	    ${SUDO} ${INSTALL_DATA_DIR} ${DATADIR}/ManReader; \
+	 <at> if [ ! -d "${DESTDIR}${DATADIR}/ManReader" ]; then \
+	    echo "${INSTALL_DATA_DIR} ${DESTDIR}${DATADIR}/ManReader"; \
+	    ${SUDO} ${INSTALL_DATA_DIR} ${DESTDIR}${DATADIR}/ManReader; \
 	fi; \
 	for F in ${DATAFILES}; do \
-	    echo "${INSTALL_DATA} $$F ${DATADIR}/ManReader"; \
-	    ${SUDO} ${INSTALL_DATA} $$F ${DATADIR}/ManReader; \
+	    echo "${INSTALL_DATA} $$F ${DESTDIR}${DATADIR}/ManReader"; \
+	    ${SUDO} ${INSTALL_DATA} $$F ${DESTDIR}${DATADIR}/ManReader; \
 	done
(Continue reading)

Picon

BSDBuild: r1007 - trunk/BSDBuild

Author: vedge
Date: 2014-01-22 10:42:18 -0500 (Wed, 22 Jan 2014)
New Revision: 1007

Modified:
   trunk/BSDBuild/perl.pm
Log:
name the test instance "my_perl"; fixes test error if perl has MULTIPLICITY.

Modified: trunk/BSDBuild/perl.pm
===================================================================
--- trunk/BSDBuild/perl.pm	2013-04-10 03:55:12 UTC (rev 1006)
+++ trunk/BSDBuild/perl.pm	2014-01-22 15:42:18 UTC (rev 1007)
 <at>  <at>  -47,15 +47,15  <at>  <at> 
 int
 main(int argc, char **argv, char **env)
 {
-	PerlInterpreter *myPerl;
+	PerlInterpreter *my_perl;
 	char *myArgv[] = { "", "foo.pl" };

 	PERL_SYS_INIT3(&argc, &argv, &env);
-	myPerl = perl_alloc();
-	perl_construct(myPerl);
-	perl_parse(myPerl, xs_init, 2, myArgv, (char **)NULL);
+	my_perl = perl_alloc();
+	perl_construct(my_perl);
+	perl_parse(my_perl, xs_init, 2, myArgv, (char **)NULL);
 	PL_exit_flags |= PERL_EXIT_DESTRUCT_END;
-	perl_run(myPerl);
(Continue reading)

BSDBuild-SVN | 10 Apr 05:55 2013

BSDBuild: r1006 - trunk/BSDBuild

Author: vedge
Date: 2013-04-09 22:55:12 -0500 (Tue, 09 Apr 2013)
New Revision: 1006

Modified:
   trunk/BSDBuild/clock_win32.pm
Log:
fix winmm test, thanks Dirkson!

Modified: trunk/BSDBuild/clock_win32.pm
===================================================================
--- trunk/BSDBuild/clock_win32.pm	2013-03-14 03:42:06 UTC (rev 1005)
+++ trunk/BSDBuild/clock_win32.pm	2013-04-10 03:55:12 UTC (rev 1006)
 <at>  <at>  -40,7 +40,7  <at>  <at> 
 #endif
 	t0 = timeGetTime();
 	Sleep(1);
-	return (to != 0) ? 0 : 1;
+	return (t0 != 0) ? 0 : 1;
 }
 EOF
BSDBuild-SVN | 14 Mar 04:42 2013

BSDBuild: r1005 - trunk/BSDBuild

Author: vedge
Date: 2013-03-13 22:42:06 -0500 (Wed, 13 Mar 2013)
New Revision: 1005

Modified:
   trunk/BSDBuild/clock_win32.pm
Log:
prevent -Wunused-but-set warning

Modified: trunk/BSDBuild/clock_win32.pm
===================================================================
--- trunk/BSDBuild/clock_win32.pm	2013-01-23 01:40:30 UTC (rev 1004)
+++ trunk/BSDBuild/clock_win32.pm	2013-03-14 03:42:06 UTC (rev 1005)
 <at>  <at>  -40,7 +40,7  <at>  <at> 
 #endif
 	t0 = timeGetTime();
 	Sleep(1);
-	return (0);
+	return (to != 0) ? 0 : 1;
 }
 EOF
BSDBuild-SVN | 23 Jan 02:40 2013

BSDBuild: r1004 - trunk/BSDBuild

Author: vedge
Date: 2013-01-22 20:40:30 -0500 (Tue, 22 Jan 2013)
New Revision: 1004

Added:
   trunk/BSDBuild/freesg-rg.pm
Removed:
   trunk/BSDBuild/agar-rg.pm
Modified:
   trunk/BSDBuild/Makefile
Log:
+ freesg-rg

Modified: trunk/BSDBuild/Makefile
===================================================================
--- trunk/BSDBuild/Makefile	2013-01-17 14:54:05 UTC (rev 1003)
+++ trunk/BSDBuild/Makefile	2013-01-23 01:40:30 UTC (rev 1004)
 <at>  <at>  -48,7 +48,6  <at>  <at> 
 	free_null.pm \
 	agar.pm \
 	agar-core.pm \
-	agar-rg.pm \
 	agar-vg.pm \
 	agar-dev.pm \
 	agar-au.pm \
 <at>  <at>  -77,6 +76,7  <at>  <at> 
 	so_peercred.pm \
 	getpeereid.pm \
 	freesg.pm \
+	freesg-rg.pm \
(Continue reading)

BSDBuild-SVN | 17 Jan 15:54 2013

BSDBuild: r1003 - trunk/BSDBuild

Author: vedge
Date: 2013-01-17 09:54:05 -0500 (Thu, 17 Jan 2013)
New Revision: 1003

Modified:
   trunk/BSDBuild/portaudio.pm
Log:
fix Pa_IsFormatSupported() test

Modified: trunk/BSDBuild/portaudio.pm
===================================================================
--- trunk/BSDBuild/portaudio.pm	2013-01-15 09:57:59 UTC (rev 1002)
+++ trunk/BSDBuild/portaudio.pm	2013-01-17 14:54:05 UTC (rev 1003)
 <at>  <at>  -24,6 +24,7  <at>  <at> 
 # USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE..

 my $testCode = << 'EOF';
+#include <stdio.h>
 #include <portaudio2/portaudio.h>

 int
 <at>  <at>  -32,7 +33,7  <at>  <at> 
 	int rv;

 	if ((rv = Pa_Initialize()) != paNoError) {
-		if (Pa_IsFormatSupported(NULL, NULL) != 0) {
+		if (Pa_IsFormatSupported(NULL, NULL, 48000.0) != 0) {
 			return (0);
 		} else {
 			return (rv);
(Continue reading)

BSDBuild-SVN | 15 Jan 10:57 2013

BSDBuild: r1002 - trunk/BSDBuild

Author: vedge
Date: 2013-01-15 04:57:59 -0500 (Tue, 15 Jan 2013)
New Revision: 1002

Added:
   trunk/BSDBuild/etubestore.pm
   trunk/BSDBuild/uim.pm
Modified:
   trunk/BSDBuild/Makefile
   trunk/BSDBuild/agar-au.pm
Log:
+ etubestore
+ uim

Modified: trunk/BSDBuild/Makefile
===================================================================
--- trunk/BSDBuild/Makefile	2013-01-07 07:17:22 UTC (rev 1001)
+++ trunk/BSDBuild/Makefile	2013-01-15 09:57:59 UTC (rev 1002)
 <at>  <at>  -116,7 +116,9  <at>  <at> 
 	rand48.pm \
 	nanosleep.pm \
 	kqueue.pm \
-	timerfd.pm
+	timerfd.pm \
+	etubestore.pm \
+	uim.pm

 all:

Modified: trunk/BSDBuild/agar-au.pm
(Continue reading)

BSDBuild-SVN | 7 Jan 08:17 2013

BSDBuild: r1001 - trunk/BSDBuild

Author: vedge
Date: 2013-01-07 02:17:22 -0500 (Mon, 07 Jan 2013)
New Revision: 1001

Modified:
   trunk/BSDBuild/opengl.pm
   trunk/BSDBuild/sdl.pm
Log:
define _USE_OPENGL_FRAMEWORK and _USE_SDL_FRAMEWORK if linking against
the frameworks.

Modified: trunk/BSDBuild/opengl.pm
===================================================================
--- trunk/BSDBuild/opengl.pm	2012-12-14 04:27:45 UTC (rev 1000)
+++ trunk/BSDBuild/opengl.pm	2013-01-07 07:17:22 UTC (rev 1001)
 <at>  <at>  -50,10 +50,10  <at>  <at> 
 );
 	
 my $testCode = << 'EOF';
-#ifdef __APPLE__
-#include <OpenGL/gl.h>
+#ifdef _USE_OPENGL_FRAMEWORK
+# include <OpenGL/gl.h>
 #else
-#include <GL/gl.h>
+# include <GL/gl.h>
 #endif
 int main(int argc, char *argv[]) {
 	glFlush();
 <at>  <at>  -77,18 +77,28  <at>  <at> 
(Continue reading)

BSDBuild-SVN | 14 Dec 05:27 2012

BSDBuild: r1000 - trunk/BSDBuild

Author: vedge
Date: 2012-12-13 23:27:45 -0500 (Thu, 13 Dec 2012)
New Revision: 1000

Modified:
   trunk/BSDBuild/portaudio.pm
Log:
make sure the test fails unless this is PortAudio 2

Modified: trunk/BSDBuild/portaudio.pm
===================================================================
--- trunk/BSDBuild/portaudio.pm	2012-09-07 05:55:58 UTC (rev 999)
+++ trunk/BSDBuild/portaudio.pm	2012-12-14 04:27:45 UTC (rev 1000)
 <at>  <at>  -32,7 +32,11  <at>  <at> 
 	int rv;

 	if ((rv = Pa_Initialize()) != paNoError) {
-		return (rv);
+		if (Pa_IsFormatSupported(NULL, NULL) != 0) {
+			return (0);
+		} else {
+			return (rv);
+		}
 	} else {
 		Pa_Terminate();
 		return (0);
 <at>  <at>  -89,7 +93,7  <at>  <at> 

 	MkIfNE('${PORTAUDIO_VERSION}', '');
 		MkFoundVer($pfx, $ver, 'PORTAUDIO_VERSION');
(Continue reading)

BSDBuild-SVN | 7 Sep 07:55 2012

BSDBuild: r999 - trunk/BSDBuild

Author: vedge
Date: 2012-09-07 01:55:58 -0400 (Fri, 07 Sep 2012)
New Revision: 999

Added:
   trunk/BSDBuild/timerfd.pm
Modified:
   trunk/BSDBuild/Makefile
Log:
test for timerfd interface

Modified: trunk/BSDBuild/Makefile
===================================================================
--- trunk/BSDBuild/Makefile	2012-08-28 11:28:52 UTC (rev 998)
+++ trunk/BSDBuild/Makefile	2012-09-07 05:55:58 UTC (rev 999)
 <at>  <at>  -115,7 +115,8  <at>  <at> 
 	fontconfig.pm \
 	rand48.pm \
 	nanosleep.pm \
-	kqueue.pm
+	kqueue.pm \
+	timerfd.pm

 all:

Added: trunk/BSDBuild/timerfd.pm
===================================================================
--- trunk/BSDBuild/timerfd.pm	                        (rev 0)
+++ trunk/BSDBuild/timerfd.pm	2012-09-07 05:55:58 UTC (rev 999)
 <at>  <at>  -0,0 +1,65  <at>  <at> 
(Continue reading)


Gmane