Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jun 2013 11:34:54 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r321039 - head/graphics/liblug
Message-ID:  <201306161134.r5GBYsGj098070@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Sun Jun 16 11:34:53 2013
New Revision: 321039
URL: http://svnweb.freebsd.org/changeset/ports/321039

Log:
  graphics/liblug: fix build wuth clang
  
  - Fix build with clang, -Wno-return-type
  - Remove version from tiff lib depend
  - Remove leading article from COMMENT
  - Trim Makefile header
  
  Approved by:	culot / jpaetzel (mentors, implicit)

Modified:
  head/graphics/liblug/Makefile

Modified: head/graphics/liblug/Makefile
==============================================================================
--- head/graphics/liblug/Makefile	Sun Jun 16 11:31:31 2013	(r321038)
+++ head/graphics/liblug/Makefile	Sun Jun 16 11:34:53 2013	(r321039)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	liblug
-# Date created:				27 December 2000
-# Whom:					George Reid <greid@ukug.uk.freebsd.org>
-#
+# Created by: George Reid <greid@ukug.uk.freebsd.org>
 # $FreeBSD$
-#
 
 PORTNAME=		liblug
 PORTVERSION=		1.0.6
@@ -13,16 +9,17 @@ MASTER_SITES=		${MASTER_SITE_SUNSITE}
 MASTER_SITE_SUBDIR=	libs/graphics
 
 MAINTAINER=		ports@FreeBSD.org
-COMMENT=	A multi-format graphics manipulation library
+COMMENT=		Multi-format graphics manipulation library
 
-LIB_DEPENDS=		tiff.4:${PORTSDIR}/graphics/tiff
+LIB_DEPENDS=		tiff:${PORTSDIR}/graphics/tiff
 
 PLIST_FILES=		lib/liblug.a
 USE_XORG=		x11
+CFLAGS+=		-Wno-return-type
 
 WRKSRC=			${WRKDIR}/lug
 MAKEFILE=		Makefile.linux
-USE_LDCONFIG=	yes
+USE_LDCONFIG=		yes
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|-DiTIFF|-DiTIFF -DTIFF_VERSION=TIFF_VERSION_CLASSIC|' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306161134.r5GBYsGj098070>