pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/camlp5 Oops, undo r1.8, committed by accident.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/062eb0bf67dc
branches:  trunk
changeset: 550070:062eb0bf67dc
user:      epg <epg%pkgsrc.org@localhost>
date:      Fri Nov 14 19:30:54 2008 +0000

description:
Oops, undo r1.8, committed by accident.

diffstat:

 lang/camlp5/Makefile |  18 ++++++++----------
 1 files changed, 8 insertions(+), 10 deletions(-)

diffs (34 lines):

diff -r 8e69887f5071 -r 062eb0bf67dc lang/camlp5/Makefile
--- a/lang/camlp5/Makefile      Fri Nov 14 19:28:39 2008 +0000
+++ b/lang/camlp5/Makefile      Fri Nov 14 19:30:54 2008 +0000
@@ -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 @@
 
 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"



Home | Main Index | Thread Index | Old Index