diff options
author | epg <epg> | 2008-11-14 19:30:54 +0000 |
---|---|---|
committer | epg <epg> | 2008-11-14 19:30:54 +0000 |
commit | eb7bf7f81010318a5e2a7a494fa9af69e6359152 (patch) | |
tree | b208bb6ebe861c13b45c2066ce1742b08f291d9b /lang | |
parent | bff98d2c1cfe1b639212a3ef02aa84fe862f915f (diff) | |
download | pkgsrc-eb7bf7f81010318a5e2a7a494fa9af69e6359152.tar.gz |
Oops, undo r1.8, committed by accident.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/camlp5/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/lang/camlp5/Makefile b/lang/camlp5/Makefile index 99b53b4d046..fc86637f4d5 100644 --- a/lang/camlp5/Makefile +++ b/lang/camlp5/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2008/11/14 19:28:39 epg Exp $ +# $NetBSD: Makefile,v 1.9 2008/11/14 19:30:54 epg Exp $ # DISTNAME= camlp5-5.09 @@ -22,17 +22,15 @@ CONFIGURE_ARGS+= --libdir ${PREFIX}/lib/ocaml REPLACE_SH= tools/*.sh meta/*.sh ocaml_src/tools/*.sh compile/*.sh -.include "../../lang/ocaml/lib.mk" -.if defined(OCAML_OPT) && !empty(OCAML_OPT:M[yY][eE][sS]) -BUILD_TARGET= world.opt +.include "../../mk/bsd.prefs.mk" + +.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \ + (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64") +BUILD_TARGET= world.opt +PLIST_SRC+= ${PKGDIR}/PLIST.opt .else -BUILD_TARGET= world -SUBST_CLASSES+= camlp5-opt -SUBST_STAGE.camlp5-opt= post-configure -SUBST_FILES.camlp5-opt= config/Makefile.cnf -SUBST_SED.camlp5-opt+= -e 's/^OPT=.*/OPT=/' +BUILD_TARGET= world .endif - PLIST_SRC+= ${PKGDIR}/PLIST .include "../../lang/ocaml/buildlink3.mk" |