mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
0b1dcd5028
A macro that helps gcc4 checking of sentinels was introduced in Xlib.h, Intrinsic.h and IntrinsicI.h and is defined in Xfuncproto.h. Apparently the sequence of including these X headers is not quite like this port would want it to be so the macros don't get expanded. Workaround this by adding them to CFLAGS as they would be for not-gcc4 case.
29 lines
566 B
Makefile
29 lines
566 B
Makefile
# New ports collection makefile for: pixmap
|
|
# Date created: 19 February 1995
|
|
# Whom: jmz
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pixmap
|
|
PORTVERSION= 2.6
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
|
|
MASTER_SITE_SUBDIR= applications/pixmap
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}
|
|
|
|
MAINTAINER= jmz@FreeBSD.org
|
|
COMMENT= A pixmap editor based on XPM library
|
|
|
|
# requires rgb.txt
|
|
BUILD_DEPENDS= xrdb:${X_CLIENTS_PORT}
|
|
|
|
WRKSRC= ${WRKDIR}/pixmap
|
|
USE_IMAKE= yes
|
|
USE_XPM= yes
|
|
MAN1= pixmap.1
|
|
|
|
CFLAGS+= -D_X_SENTINEL\(x\)= -D_X_ATTRIBUTE_PRINTF\(x,y\)=
|
|
|
|
.include <bsd.port.mk>
|