a8693b8dee
rely on gcc. The patch uses the new USE_GCC=any code in Mk/bsd.gcc.mk to accomplish this. The ports chosen were ports that blocked 2 or more ports from building with clang. (There are several hundred other ports that still fail to build with clang, even with this patch. This is merely one step along the way.) Those interested in fixing these ports with clang, and have clang as their default compiler, can simply set FORCE_BASE_CC_FOR_TESTING=yes. For those who have gcc as their default compiler, this change is believed to cause no change. Hat: portmgr Tested with: multiple runs on amd64-8-exp-bcm and 9-exp-clang, with various combinations of patch/no-patch and flag settings.
56 lines
1.3 KiB
Makefile
56 lines
1.3 KiB
Makefile
# New ports collection makefile for: mpeglib_artsplug
|
|
# Date created: July 09 2004
|
|
# Whom: Michael Nottebrock <lofi@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= akode-plugins-${PORTNAMESUFX}
|
|
PORTVERSION= 2.0.2
|
|
PORTEPOCH= 1
|
|
CATEGORIES= audio kde
|
|
MASTER_SITES= http://www.kde-apps.org/CONTENT/content-files/ \
|
|
${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= laszlof
|
|
DISTNAME= 30375-akode-${PORTVERSION}
|
|
|
|
MAINTAINER= swhetzel@gmail.com
|
|
COMMENT= OSS output plugin for akode
|
|
LICENSE= LGPL20
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
CONFLICTS= kdemultimedia-3.[1-3]*
|
|
|
|
PLUGIN= oss_sink
|
|
PORTNAMESUFX= ${PLUGIN:S/_sink//:S/_decoder//:S/src_//}
|
|
|
|
USE_AUTOTOOLS= libltdl
|
|
USE_AUTOTOOLS= libtool
|
|
USE_BZIP2= yes
|
|
USE_GCC= any
|
|
USE_GMAKE= yes
|
|
WRKSRC= ${WRKDIR}/akode-${PORTVERSION}
|
|
USE_LDCONFIG= yes
|
|
|
|
PLIST_FILES= lib/libakode_oss_sink.a \
|
|
lib/libakode_oss_sink.la \
|
|
lib/libakode_oss_sink.so
|
|
|
|
LDFLAGS+= -L${WRKSRC}/akode/lib/.libs
|
|
CONFIGURE_ARGS+=--with-extra-libs=${LOCALBASE}/lib \
|
|
--with-extra-includes=${LOCALBASE}/include
|
|
|
|
post-patch:
|
|
@${SETENV} TZ=UTC \
|
|
${TOUCH} -t 200607222217.01 ${WRKSRC}/akode/lib/akode_export.h.in
|
|
|
|
pre-configure:
|
|
@${REINPLACE_CMD} -e 's@%%SUBDIRS%%@${PLUGIN}@g' ${WRKSRC}/akode/plugins/Makefile.in
|
|
|
|
do-build:
|
|
cd ${WRKSRC}/akode && ${GMAKE}
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/akode/plugins/${PLUGIN} && ${GMAKE} install
|
|
|
|
.include <bsd.port.mk>
|