summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-10-24 09:43:49 +0000
committerjperkin <jperkin@pkgsrc.org>2013-10-24 09:43:49 +0000
commit172f875c44fc307113fffbe96662f8c073ccab5a (patch)
tree99757ac3250f123a2cb1ae526ae0283e988c04a4 /sysutils
parenteb49a4a12ae5a22e552e48cd7f168695de57b43b (diff)
downloadpkgsrc-172f875c44fc307113fffbe96662f8c073ccab5a.tar.gz
Fix build on SunOS. Patch from Sebastian Wiedenroth.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/wipe/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/wipe/Makefile b/sysutils/wipe/Makefile
index e5ae9df927f..5f3e0be3d00 100644
--- a/sysutils/wipe/Makefile
+++ b/sysutils/wipe/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2012/10/23 19:51:34 asau Exp $
+# $NetBSD: Makefile,v 1.7 2013/10/24 09:43:49 jperkin Exp $
#
DISTNAME= wipe-2.2.0
@@ -15,4 +15,10 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= yes
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+MAKE_ENV+= DEFINES="-Du_int32_t=uint32_t"
+.endif
+
.include "../../mk/bsd.pkg.mk"