diff options
author | William Grzybowski <wg@FreeBSD.org> | 2013-06-16 11:34:53 +0000 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2013-06-16 11:34:53 +0000 |
commit | d214b765b17845c05df488d3ae9888b26da02e70 (patch) | |
tree | 8d146b86e8d7db7d896acc1b5d456c412f2dd282 /graphics/liblug | |
parent | d18c09af4a8f5228ce4e408515bac365ca9186e3 (diff) | |
download | ports-d214b765b17845c05df488d3ae9888b26da02e70.tar.gz ports-d214b765b17845c05df488d3ae9888b26da02e70.zip |
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)
Notes
Notes:
svn path=/head/; revision=321039
Diffstat (limited to 'graphics/liblug')
-rw-r--r-- | graphics/liblug/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/graphics/liblug/Makefile b/graphics/liblug/Makefile index aeaddcd4175e..0b8d4f532ec5 100644 --- a/graphics/liblug/Makefile +++ b/graphics/liblug/Makefile @@ -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|' \ |