aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xsidplay
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2007-06-15 23:39:20 +0800
committerdanfe <danfe@FreeBSD.org>2007-06-15 23:39:20 +0800
commit55a969beddde1f96ba089869066cf23981234af9 (patch)
tree27ca5bfddafd568b13df9d4591acf5419770aa97 /audio/xsidplay
parent2e6ed09c6ed41fd51e0fa0b87f8765d6c7f71be3 (diff)
downloadfreebsd-ports-gnome-55a969beddde1f96ba089869066cf23981234af9.tar.gz
freebsd-ports-gnome-55a969beddde1f96ba089869066cf23981234af9.tar.zst
freebsd-ports-gnome-55a969beddde1f96ba089869066cf23981234af9.zip
- Fix the build with recent GCC [1]
- Fix portlint(1) warning - Reindent Makefile header Reported by: pointyhat (portsmon) [1]
Diffstat (limited to 'audio/xsidplay')
-rw-r--r--audio/xsidplay/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/audio/xsidplay/Makefile b/audio/xsidplay/Makefile
index 4a25cc0bf4f5..2aa433fee3eb 100644
--- a/audio/xsidplay/Makefile
+++ b/audio/xsidplay/Makefile
@@ -1,6 +1,6 @@
-# New ports collection makefile for: xsidplay
-# Date created: 28 November 1999
-# Whom: Anders Nordby <anders@fix.no>
+# New ports collection makefile for: xsidplay
+# Date created: 28 November 1999
+# Whom: Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#
@@ -32,7 +32,7 @@ QTCFGLIBS+= ${PTHREAD_LIBS}
.include <bsd.port.pre.mk>
-.if ${MACHINE_ARCH} == "alpha"
+.if ${ARCH} == "alpha"
CFLAGS+= -O0
.endif
@@ -62,6 +62,8 @@ PORTDOCS= README STIL.faq hv_sids.faq
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}|g' ${WRKSRC}/xsidplay.1
+ @${REINPLACE_CMD} -e '60s|HistoryFile|class &|' \
+ ${WRKSRC}/src/HistoryDialog.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/xsidplay ${PREFIX}/bin