svn commit: r318969 - head/audio/funktrackergold
Baptiste Daroussin
bapt at FreeBSD.org
Fri May 24 13:54:01 UTC 2013
Author: bapt
Date: Fri May 24 13:54:00 2013
New Revision: 318969
URL: http://svnweb.freebsd.org/changeset/ports/318969
Log:
Fix build on current by forcing usage of gcc: the code uses nested functions which is a gcc extensions
While here trim headers
Convert NOPORTDOCS -> PORT_OPTIONS:MDOCS
Modified:
head/audio/funktrackergold/Makefile
Modified: head/audio/funktrackergold/Makefile
==============================================================================
--- head/audio/funktrackergold/Makefile Fri May 24 13:47:55 2013 (r318968)
+++ head/audio/funktrackergold/Makefile Fri May 24 13:54:00 2013 (r318969)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: funktrackergold
-# Date created: Apr 1, 2001
-# Whom: Mark Pulford <mark at kyne.com.au>
-#
+# Created by: Mark Pulford <mark at kyne.com.au>
# $FreeBSD$
-#
PORTNAME= funktrackergold
PORTVERSION= 1.5.2
@@ -19,6 +15,8 @@ COMMENT= A curses MOD/FNK music tracker
LICENSE= GPLv2
+USE_GCC= any
+
WRKSRC= ${WRKDIR}/funkgold
MAKE_ARGS= EXTRA_CFLAGS="${PTHREAD_CFLAGS}" \
EXTRA_LDFLAGS="${PTHREAD_LIBS}"
@@ -26,15 +24,15 @@ MAKE_ARGS= EXTRA_CFLAGS="${PTHREAD_CFLAG
PORTDOCS= INSTALL
PLIST_FILES= bin/funkgold
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/funkgold ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for docs in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
More information about the svn-ports-head
mailing list