pkgsrc/graphics/tgif/Makefile
dmcmahill a21f8b509e use ${LOWER_OPSYS} rather than "netbsd" when locating the Imake template
file to use.  Also, on Solaris, avoid passing "-a" to xmkmf which will
cause the openwindows makedepend to be called which in turn will fail
as it was compiled with MAXFILES set too low.  These changes fix
compilation on Solaris.
2003-11-09 21:26:06 +00:00

33 lines
894 B
Makefile

# $NetBSD: Makefile,v 1.43 2003/11/09 21:26:06 dmcmahill Exp $
#
DISTNAME= tgif-4.1.43
CATEGORIES= graphics
MASTER_SITES= ftp://bourbon.usc.edu/pub/tgif/free-of-charge/
MAINTAINER= dmcmahill@NetBSD.org
HOMEPAGE= http://bourbon.usc.edu:8001/tgif/tgif.html
COMMENT= Fully-featured X11 drawing program
USE_BUILDLINK2= yes
USE_IMAKE= yes
USE_X11= yes
PTHREAD_OPTS+= require
# avoid "xmkmf -a" on Solaris which runs makedepend because the
# openwindows makedepend program can't handle the number of
# files. We should probably have a replacement makedepend in
# pkgsrc.
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
XMKMF= ${XMKMF_CMD}
.endif
post-patch::
@${RM} -f ${WRKSRC}/Tgif.tmpl
@${CP} ${WRKSRC}/Tgif.tmpl-${LOWER_OPSYS} ${WRKSRC}/Tgif.tmpl
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../mk/pthread.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"