pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/camlp5 blank line before PLIST_SRC
details: https://anonhg.NetBSD.org/pkgsrc/rev/8e69887f5071
branches: trunk
changeset: 550069:8e69887f5071
user: epg <epg%pkgsrc.org@localhost>
date: Fri Nov 14 19:28:39 2008 +0000
description:
blank line before PLIST_SRC
diffstat:
lang/camlp5/Makefile | 20 +++++++++++---------
1 files changed, 11 insertions(+), 9 deletions(-)
diffs (35 lines):
diff -r ea41f435d883 -r 8e69887f5071 lang/camlp5/Makefile
--- a/lang/camlp5/Makefile Fri Nov 14 19:12:41 2008 +0000
+++ b/lang/camlp5/Makefile Fri Nov 14 19:28:39 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2008/06/21 06:37:52 tonio Exp $
+# $NetBSD: Makefile,v 1.8 2008/11/14 19:28:39 epg Exp $
#
DISTNAME= camlp5-5.09
@@ -22,15 +22,17 @@
REPLACE_SH= tools/*.sh meta/*.sh ocaml_src/tools/*.sh compile/*.sh
-.include "../../mk/bsd.prefs.mk"
+.include "../../lang/ocaml/lib.mk"
+.if defined(OCAML_OPT) && !empty(OCAML_OPT:M[yY][eE][sS])
+BUILD_TARGET= world.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=/'
+.endif
-.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
-.endif
PLIST_SRC+= ${PKGDIR}/PLIST
.include "../../lang/ocaml/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index