svn commit: r321039 - head/graphics/liblug

William Grzybowski wg at FreeBSD.org
Sun Jun 16 11:34:54 UTC 2013


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 at ukug.uk.freebsd.org>
-#
+# Created by: George Reid <greid at 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 at 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|' \


More information about the svn-ports-all mailing list