summaryrefslogtreecommitdiff
path: root/x11/xforms/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2001-08-09 13:45:43 +0000
committerwiz <wiz>2001-08-09 13:45:43 +0000
commit819da2c3402e422b67a0ab7857f7b38d9102e2a9 (patch)
tree4b0e0f1d1edfd0f938bad887b8093af98fa00b2b /x11/xforms/Makefile
parentf6d338364b9ffb7d4e799ff0e49b455beec520ee (diff)
downloadpkgsrc-819da2c3402e422b67a0ab7857f7b38d9102e2a9.tar.gz
Add SunOS support, provided by Peter L. Petersen in pkg/13655.
Diffstat (limited to 'x11/xforms/Makefile')
-rw-r--r--x11/xforms/Makefile17
1 files changed, 14 insertions, 3 deletions
diff --git a/x11/xforms/Makefile b/x11/xforms/Makefile
index 7decce2cf72..9cde184736d 100644
--- a/x11/xforms/Makefile
+++ b/x11/xforms/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2001/07/03 20:59:05 zuntum Exp $
+# $NetBSD: Makefile,v 1.37 2001/08/09 13:45:43 wiz Exp $
#
DISTNAME= bxform-088
@@ -26,8 +26,9 @@ ARCH_SUBDIR= netBSD-${MACHINE_ARCH}
DIST_SUBDIR= xforms-${MACHINE_ARCH}
-ONLY_FOR_PLATFORM= NetBSD-*-alpha NetBSD-*-arm32 NetBSD-*-i386 NetBSD-*-m68k \
- NetBSD-*-mipsel NetBSD-*-ns32k NetBSD-*-sparc NetBSD-*-powerpc
+ONLY_FOR_PLATFORM= NetBSD-*-alpha NetBSD-*-arm32 NetBSD-*-i386 \
+ NetBSD-*-m68k NetBSD-*-mipsel NetBSD-*-ns32k \
+ NetBSD-*-sparc NetBSD-*-powerpc SunOS-*-*
.include "../../mk/bsd.prefs.mk"
@@ -38,6 +39,16 @@ DISTNAME= bxform-088-ELF
DISTNAME= bxform-088-ELF
.endif
+.if ${OPSYS} == "SunOS"
+DISTNAME= bxform-088
+.if ${MACHINE_ARCH} == "sparc"
+ARCH_SUBDIR= sun/Solaris
+.elif ${MACHINE_ARCH} == "i386"
+ARCH_SUBDIR= solaris-x86/2.7
+.endif
+DIST_SUBDIR= xforms-${OPSYS}-${MACHINE_ARCH}
+.endif
+
## Define OBJMACHINE so WRKDIR is defined to be ${MACHINE_ARCH}-specific.
OBJMACHINE= YES