pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/tgif Use FreeBSD template for DragonFly as well.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6aa2707192d9
branches:  trunk
changeset: 507801:6aa2707192d9
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Feb 08 16:58:29 2006 +0000

description:
Use FreeBSD template for DragonFly as well.

diffstat:

 graphics/tgif/Makefile |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r d0dcc001b134 -r 6aa2707192d9 graphics/tgif/Makefile
--- a/graphics/tgif/Makefile    Wed Feb 08 16:48:59 2006 +0000
+++ b/graphics/tgif/Makefile    Wed Feb 08 16:58:29 2006 +0000
@@ -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 @@
 
 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"



Home | Main Index | Thread Index | Old Index