summaryrefslogtreecommitdiff
path: root/x11/xephem/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xephem/Makefile')
-rw-r--r--x11/xephem/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/x11/xephem/Makefile b/x11/xephem/Makefile
index 530a1f3a351..5aa33cf82d4 100644
--- a/x11/xephem/Makefile
+++ b/x11/xephem/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2002/01/19 11:39:43 drochner Exp $
+# $NetBSD: Makefile,v 1.13 2002/05/20 15:53:59 cjep Exp $
DISTNAME= xephem-3.5.2
CATEGORIES= x11
@@ -13,10 +13,16 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/GUI/xephem
LIBSRC1= ${WRKDIR}/${DISTNAME}/libastro
LIBSRC2= ${WRKDIR}/${DISTNAME}/libip
USE_PERL5= yes
-USE_IMAKE= yes
LICENSE= no-commercial-use
+.if (${MACHINE_ARCH} == "arm32")
+. include "../../lang/gcc/Makefile.gcc"
+MAKE_FLAGS+= CC=${CC}
+.endif
+
+USE_IMAKE= yes
+
pre-build:
(cd ${LIBSRC1}; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS})
(cd ${LIBSRC2}; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS})