summaryrefslogtreecommitdiff
path: root/audio/xamp
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-01-27 11:07:08 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-01-27 11:07:08 +0000
commitf27fb649ff85ea6ff8afda4aa4c605a342abadb2 (patch)
tree825283947a956ed6d5e535ed87e0fd2ebf58220a /audio/xamp
parentChange MASTER_SITES and MAINTAINER. (diff)
Make this compile on -current and respect CFLAGS.
Change maintainer to ports since old maintainer's email is invalid.
Notes
Notes: svn path=/head/; revision=25112
Diffstat (limited to 'audio/xamp')
-rw-r--r--audio/xamp/Makefile7
-rw-r--r--audio/xamp/files/patch-ab32
2 files changed, 33 insertions, 6 deletions
diff --git a/audio/xamp/Makefile b/audio/xamp/Makefile
index 31c7e0fbde8e..5c1a0e6afd69 100644
--- a/audio/xamp/Makefile
+++ b/audio/xamp/Makefile
@@ -12,20 +12,19 @@ CATEGORIES= audio
MASTER_SITES= ftp://ftp.simcb.ru/pub/unix/x11/
EXTRACT_SUFX= .tgz
-MAINTAINER= jslu@dns.ntu.edu.tw
+MAINTAINER= ports@FreeBSD.org
USE_QT= yes
WRKSRC= ${WRKDIR}/xamp-0.8/xamp-0.8
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CXXFLAGS="${CFLAGS}"
USE_GMAKE= yes
USE_X_PREFIX= yes
MAN1= xamp.1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/xamp ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/xamp.1 ${PREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/xamp ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/xamp.1 ${PREFIX}/man/man1
.include <bsd.port.mk>
diff --git a/audio/xamp/files/patch-ab b/audio/xamp/files/patch-ab
index 8513fb1cab58..5a84caf464fa 100644
--- a/audio/xamp/files/patch-ab
+++ b/audio/xamp/files/patch-ab
@@ -1,5 +1,5 @@
---- configure.orig Mon Oct 27 00:55:34 1997
-+++ configure Sun Jan 24 15:54:23 1999
+--- configure.orig Sun Oct 26 08:55:34 1997
++++ configure Tue Jan 25 01:49:19 2000
@@ -992,9 +992,9 @@
qt_libdir=NO
for i in $qt_libdirs;
@@ -12,3 +12,31 @@
qt_libdir=$i
break 2
fi
+@@ -1682,10 +1682,6 @@
+ ARCH_TYPE=`uname -m`
+ echo "$ac_t""$ARCH_TYPE" 1>&6
+
+-CC=
+-CFLAGS=
+-LDFLAGS=
+-CFLAGS_ARCH=
+
+
+
+@@ -1701,7 +1697,6 @@
+ ;;
+
+ Linux|FreeBSD)
+- CC="gcc"
+ if test "$ARCH_TYPE" = "i486" ; then
+ CFLAGS_ARCH="-m486"
+ fi
+@@ -1711,7 +1706,7 @@
+ if test "$OS_TYPE" = "FreeBSD" ; then
+ OS_TYPE="BSD"
+ fi
+- CFLAGS="-O6 -ffast-math -fomit-frame-pointer -DNO_BYTE_SWAPPING ${CFLAGS_ARCH}"
++ CFLAGS="${CFLAGS} -ffast-math -fomit-frame-pointer -DNO_BYTE_SWAPPING ${CFLAGS_ARCH}"
+ ;;
+
+ SunOS)