diff options
author | wg <wg@FreeBSD.org> | 2013-06-16 11:34:53 +0000 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-06-16 11:34:53 +0000 |
commit | 10e46f03f2b94bde30b6aa7322907cbdccdf17b1 (patch) | |
tree | 8d146b86e8d7db7d896acc1b5d456c412f2dd282 | |
parent | d289a93182ced3d9247f693c73cbcfb6a2c7703e (diff) | |
download | FreeBSD-ports-10e46f03f2b94bde30b6aa7322907cbdccdf17b1.zip FreeBSD-ports-10e46f03f2b94bde30b6aa7322907cbdccdf17b1.tar.gz |
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)
-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 aeaddcd..0b8d4f5 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|' \ |