summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-12-21 11:52:42 +0000
committeragc <agc@pkgsrc.org>1999-12-21 11:52:42 +0000
commitf73a1822cd928f43e83f59befc6bcd6edc645b6b (patch)
tree418a8088d0fefde6ca0877e80c0706daafa327a9 /x11
parentace857feeb88c96260900066cbd72d155a8a31d1 (diff)
downloadpkgsrc-f73a1822cd928f43e83f59befc6bcd6edc645b6b.tar.gz
Make this package work on Solaris.
Diffstat (limited to 'x11')
-rw-r--r--x11/sunclock/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/sunclock/Makefile b/x11/sunclock/Makefile
index a631f0d31c5..449ac33ba21 100644
--- a/x11/sunclock/Makefile
+++ b/x11/sunclock/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 1999/04/15 20:39:49 tron Exp $
+# $NetBSD: Makefile,v 1.8 1999/12/21 11:52:42 agc Exp $
#
DISTNAME= sunclock-1.4
@@ -9,4 +9,10 @@ MAINTAINER= perry@netbsd.org
USE_IMAKE= yes
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+MAKE_ENV+= CPPFLAGS=-DUSE_PUTENV
+.endif
+
.include "../../mk/bsd.pkg.mk"