From 26478a340130db7713ccbe76f76281d5e2466aad Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 8 Feb 2006 16:58:29 +0000 Subject: Use FreeBSD template for DragonFly as well. --- graphics/tgif/Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'graphics/tgif') diff --git a/graphics/tgif/Makefile b/graphics/tgif/Makefile index 656e07e2e11..4afa45b85aa 100644 --- a/graphics/tgif/Makefile +++ b/graphics/tgif/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.50 2006/02/05 23:09:39 joerg Exp $ +# $NetBSD: Makefile,v 1.51 2006/02/08 16:58:29 joerg Exp $ # DISTNAME= tgif-4.1.44 @@ -14,9 +14,17 @@ USE_IMAKE= yes PTHREAD_OPTS+= require +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "DragonFly" +OS_TEMPLATE= ${WRKSRC}/Tgif.tmpl-freebsd +.else +OS_TEMPLATE= ${WRKSRC}/Tgif.tmpl-${LOWER_OPSYS} +.endif + post-patch:: @${RM} -f ${WRKSRC}/Tgif.tmpl - @${CP} ${WRKSRC}/Tgif.tmpl-${LOWER_OPSYS} ${WRKSRC}/Tgif.tmpl + @${CP} ${OS_TEMPLATE} ${WRKSRC}/Tgif.tmpl .include "../../graphics/jpeg/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" -- cgit v1.2.3