From ec06ea1289eac066308a1706e185a1a1bc7bf056 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Sun, 2 Jun 2013 19:13:41 +0000 Subject: [PATCH] - Trim Makefile header - Unbreak with clang --- x11/xgrab/Makefile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/x11/xgrab/Makefile b/x11/xgrab/Makefile index a4418b4d64db..862ad2fc99f7 100644 --- a/x11/xgrab/Makefile +++ b/x11/xgrab/Makefile @@ -1,21 +1,17 @@ -# New ports collection makefile for: xgrab -# Date created: 27 February 1995 -# Whom: jmz -# +# Created by: jmz # $FreeBSD$ -# PORTNAME= xgrab PORTVERSION= 2.41 PORTREVISION= 3 CATEGORIES= x11 -MASTER_SITES= ${MASTER_SITE_XCONTRIB} +MASTER_SITES= XCONTRIB MASTER_SITE_SUBDIR= applications DISTNAME= ${PORTNAME}sc.2_41 EXTRACT_SUFX= .tar.Z MAINTAINER= ports@FreeBSD.org -COMMENT= An X11 image grabber +COMMENT= X11 image grabber BUILD_DEPENDS= xrdb:${PORTSDIR}/x11/xrdb @@ -27,6 +23,7 @@ MAKE_FLAGS= BINDIR=${PREFIX}/bin MANDIR=${PREFIX}/man/man1 \ XAPPLOADDIR=${PREFIX}/lib/X11/app-defaults -f # "make depend" blows up XMKMF= xmkmf +CFLAGS+= -Wno-error=return-type .if (!defined(DISPLAY) || ${DISPLAY} == "") && !defined(PACKAGE_BUILDING) IGNORE= Requires an active X session (and DISPLAY variable) to run xrdb. Please compile this while running X.