Index: head/audio/s3mod/Makefile =================================================================== --- head/audio/s3mod/Makefile (revision 71975) +++ head/audio/s3mod/Makefile (revision 71976) @@ -1,28 +1,28 @@ # New ports collection makefile for: s3mod # Date created: 9 March 1995 # Whom: ugen # # $FreeBSD$ # PORTNAME= s3mod PORTVERSION= 1.09 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SUNSITE} MASTER_SITE_SUBDIR= apps/sound/players DISTNAME= ${PORTNAME}-v${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= dinoex@FreeBSD.org ONLY_FOR_ARCHS= i386 ALL_TARGET= freebsd pre-patch: @${CP} ${WRKSRC}/DspDrivers/linux_dsp.c ${WRKSRC}/dsp.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/s3mod ${PREFIX}/bin .include Property changes on: head/audio/s3mod/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.13 \ No newline at end of property +1.14 \ No newline at end of property Index: head/audio/s3mod/files/patch-ab =================================================================== --- head/audio/s3mod/files/patch-ab (revision 71975) +++ head/audio/s3mod/files/patch-ab (revision 71976) @@ -1,34 +1,34 @@ --- Makefile.orig Sun Oct 22 04:48:51 1995 +++ Makefile Sat Jan 27 15:52:13 2001 @@ -5,11 +5,11 @@ # ######## -CC = gcc +CC ?= gcc RM = rm LN = ln -s -CFLAGS = -O2 +CFLAGS ?= -O2 LFLAGS = OBJS = mod.o s3m.o main.o play.o mix.o cmdline.o dsp.o gus.o @@ -24,6 +24,7 @@ @echo " make sun - SunOS/Solaris" @echo " make sgi - SGI Irix" @echo " make linux - Voxware DSP/GUS" + @echo " make freebsd - Voxware DSP/GUS" @echo " make dec - Dec OSF/1" @echo " make clean - remove all .o files" @echo " make clobber - remove all .o and targets" @@ -50,6 +51,9 @@ $(RM) -f dsp.c $(LN) DspDrivers/linux_dsp.c dsp.c make CC=gcc CFLAGS=-O2 DEFINES="-DLINUX -DGUS" s3mod + +freebsd: -+ $(MAKE) CFLAGS="$(CFLAGS)" DEFINES="-DGUS" s3mod ++ $(MAKE) CFLAGS="$(CFLAGS)" DEFINES="" s3mod s3mod: $(OBJS) $(CC) $(CFLAGS) -o s3mod $(OBJS) $(LFLAGS) $(LIBS) Property changes on: head/audio/s3mod/files/patch-ab ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/audio/s3mod/files/patch-ac =================================================================== --- head/audio/s3mod/files/patch-ac (revision 71975) +++ head/audio/s3mod/files/patch-ac (revision 71976) @@ -1,17 +1,14 @@ ---- config.h.orig Sun Oct 22 04:59:55 1995 -+++ config.h Sat Jan 27 15:04:14 2001 -@@ -64,6 +64,14 @@ +--- config.h.orig Sat Oct 21 20:59:55 1995 ++++ config.h Sun Dec 29 10:50:41 2002 +@@ -64,6 +64,11 @@ #define GUS #endif /* GUS */ +#elif defined(__FreeBSD__) +#define BIT_32 +#undef NEAR_FAR_PTR +#define DSP -+#ifndef GUS -+#define GUS -+#endif /* GUS */ + #elif defined(MSDOS) #define NEAR_FAR_PTR #define DSP Property changes on: head/audio/s3mod/files/patch-ac ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property