head	1.2;
access;
symbols
	pkgsrc-2016Q4:1.1.0.6
	pkgsrc-2016Q4-base:1.1
	pkgsrc-2016Q3:1.1.0.4
	pkgsrc-2016Q3-base:1.1
	pkgsrc-2016Q2:1.1.0.2
	pkgsrc-2016Q2-base:1.1;
locks; strict;
comment	@# @;


1.2
date	2016.12.30.11.25.34;	author jaapb;	state dead;
branches;
next	1.1;
commitid	vS08JJ56Bewo20Az;

1.1
date	2016.06.25.14.47.54;	author jaapb;	state Exp;
branches;
next	;
commitid	Q0hfRUqvfoQRcRbz;


desc
@@


1.2
log
@This is an update of ppx_optcomp to a new version. This is based on a
github tag, not a 'proper' release, but unfortunately this was needed for
compatibility reasons with other packages. The changelog has not been
updated upstream.
@
text
@$NetBSD: patch-Makefile,v 1.1 2016/06/25 14:47:54 jaapb Exp $

Install in correct location
--- Makefile.orig	2016-03-22 14:13:51.000000000 +0000
+++ Makefile
@@@@ -2,7 +2,7 @@@@
 
 SETUP := setup.exe
 NAME := ppx_optcomp
-PREFIX = $(shell grep ^prefix= setup.data | cut -d\" -f 2)
+#PREFIX = $(shell grep ^prefix= setup.data | cut -d\" -f 2)
 
 # Default rule
 default: build
@@@@ -30,7 +30,7 @@@@ $(NAME).install: js-utils/gen_install.ml
 	ocaml -I js-utils js-utils/gen_install.ml
 
 install: $(NAME).install
-	opam-installer -i --prefix $(PREFIX) $(NAME).install
+	opam-installer -i --prefix ${DESTDIR}$(PREFIX) --libdir ${OCAML_SITELIBDIR}  $(NAME).install
 
 uninstall: $(NAME).install
 	opam-installer -u --prefix $(PREFIX) $(NAME).install
@


1.1
log
@Updated package to latest version, 113.33.00 and made it compatible with
ocaml 4.03 and the latest framework version. Discussed on packages@@ and
OK'd by jperkin.

Changes include:

## 113.33.00+4.03

Various updates to work with OCaml 4.03.0

## 113.33.00

- Install standalone ppx-optcomp program that can be run through `-pp`
@
text
@d1 1
a1 1
$NetBSD$
@

