diff options
author | schwarz <schwarz> | 2006-05-14 21:16:00 +0000 |
---|---|---|
committer | schwarz <schwarz> | 2006-05-14 21:16:00 +0000 |
commit | 4ab2e7a57dd902c7f1f31ed334389ffaa533974d (patch) | |
tree | d1f470d36c446b7dd65e201eff424e90f4a755f7 /graphics/xv/Makefile | |
parent | e6004dbf51aaf6386458268c5f7ef3e490c12ba9 (diff) | |
download | pkgsrc-4ab2e7a57dd902c7f1f31ed334389ffaa533974d.tar.gz |
when using alloca() on IRIX 5 alloca.h has to be included
Diffstat (limited to 'graphics/xv/Makefile')
-rw-r--r-- | graphics/xv/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/graphics/xv/Makefile b/graphics/xv/Makefile index 0f7264247ec..7cc9c493490 100644 --- a/graphics/xv/Makefile +++ b/graphics/xv/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.64 2006/04/22 09:22:10 rillig Exp $ +# $NetBSD: Makefile,v 1.65 2006/05/14 21:16:00 schwarz Exp $ DISTNAME= xv-3.10a PKGREVISION= 12 -CATEGORIES= graphics x11 +CATEGORIES= graphics x11 MASTER_SITES= ftp://ftp.cis.upenn.edu/pub/xv/ #DISTFILES= ${DISTNAME}${EXTRACT_SUFX} @@ -28,6 +28,10 @@ LICENSE= xv-license .include "../../mk/bsd.prefs.mk" +.if !empty(LOWER_OPSYS:Mirix5*) +CPPFLAGS+= -DNEED_ALLOCA_H +.endif + pre-configure: ${MV} ${WRKSRC}/config.h ${WRKSRC}/config.h.orig && \ ${SED} -e 's|@LOCALBASE@|${LOCALBASE}|g' \ |