From owner-svn-ports-head@FreeBSD.ORG Mon May 27 10:18:00 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4FB4C373; Mon, 27 May 2013 10:18:00 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 40C28217; Mon, 27 May 2013 10:18:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4RAI05O039771; Mon, 27 May 2013 10:18:00 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4RAI0xL039764; Mon, 27 May 2013 10:18:00 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201305271018.r4RAI0xL039764@svn.freebsd.org> From: Baptiste Daroussin Date: Mon, 27 May 2013 10:18:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r319202 - head/multimedia/avbin X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 10:18:00 -0000 Author: bapt Date: Mon May 27 10:17:59 2013 New Revision: 319202 URL: http://svnweb.freebsd.org/changeset/ports/319202 Log: Fix build with clang Modified: head/multimedia/avbin/Makefile Modified: head/multimedia/avbin/Makefile ============================================================================== --- head/multimedia/avbin/Makefile Mon May 27 10:15:47 2013 (r319201) +++ head/multimedia/avbin/Makefile Mon May 27 10:17:59 2013 (r319202) @@ -1,9 +1,5 @@ -# New ports collection makefile for: avbin -# Date created: 03 Apr 2009 -# Whom: Dmitry Marakasov -# +# Created by: Dmitry Marakasov # $FreeBSD$ -# PORTNAME= avbin PORTVERSION= 7 @@ -32,7 +28,7 @@ CFLAGS+= -fPIC do-build: cd ${WRKSRC} && \ - ${CC} ${CFLAGS} -shared -soname ${LIBNAME} -o ${LIBNAME} \ + ${CC} ${CFLAGS} -shared -Wl,-soname,${LIBNAME} -o ${LIBNAME} \ src/avbin.c -Iinclude -I${LOCALBASE}/include \ -DAVBIN_VERSION=${PORTVERSION} -DFFMPEG_REVISION=0 \ -L${LOCALBASE}/lib -lavcodec -lavformat @@ -41,7 +37,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/${LIBNAME} ${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/include/avbin.h ${PREFIX}/include -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} cd ${WRKSRC}/doc && ${COPYTREE_SHARE} '*' ${DOCSDIR}/ .endif