summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjoerg <joerg>2015-04-30 11:37:42 +0000
committerjoerg <joerg>2015-04-30 11:37:42 +0000
commita4d9751320562f55fd2848515dc03e610560e74e (patch)
treefb54341865362d5ba4842b6eaf797b946ded034e /graphics
parenta6df55362c11ec1a23c54d7d341165cef2ce7028 (diff)
downloadpkgsrc-a4d9751320562f55fd2848515dc03e610560e74e.tar.gz
Precreate trans to avoid race conditions.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/tuxpaint/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/tuxpaint/Makefile b/graphics/tuxpaint/Makefile
index 66232978c61..4c9f9c6e9f9 100644
--- a/graphics/tuxpaint/Makefile
+++ b/graphics/tuxpaint/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.83 2015/04/25 14:23:19 tnn Exp $
+# $NetBSD: Makefile,v 1.84 2015/04/30 11:37:42 joerg Exp $
DISTNAME= tuxpaint-0.9.22
PKGREVISION= 1
@@ -53,6 +53,9 @@ LIBS+= -lpng
LIBS.SunOS+= -lsocket -lnsl
LDFLAGS.SunOS+= -lsocket
+pre-build:
+ ${MKDIR} ${WRKSRC}/trans
+
post-install:
${RM} -f ${DESTDIR}${PREFIX}/share/tuxpaint/fonts/locale/zh_tw_docs/maketuxfont.py
${RM} -f ${DESTDIR}${PREFIX}/share/tuxpaint/fonts/locale/zh_tw_docs/tuxpaintsubset.pe