aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-01-27 19:07:08 +0800
committerreg <reg@FreeBSD.org>2000-01-27 19:07:08 +0800
commitf32d4d71fd0efd160f6730fa670800171f7f049f (patch)
treef653d90a670131efab2fc82ebaaf41ffb49e7b02 /audio
parentf5770bb7321165c74c4127a4dea9248a2b131b68 (diff)
downloadfreebsd-ports-gnome-f32d4d71fd0efd160f6730fa670800171f7f049f.tar.gz
freebsd-ports-gnome-f32d4d71fd0efd160f6730fa670800171f7f049f.tar.zst
freebsd-ports-gnome-f32d4d71fd0efd160f6730fa670800171f7f049f.zip
Make this compile on -current and respect CFLAGS.
Change maintainer to ports since old maintainer's email is invalid.
Diffstat (limited to 'audio')
-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)