7901f74bbb
tweak & ok mk@. Coccinelle is a program matching and transformation engine which provides the language SmPL (Semantic Patch Language) for specifying desired matches and transformations in C code. Coccinelle was initially targeted towards performing collateral evolutions in Linux. Such evolutions comprise the changes that are needed in client code in response to evolutions in library APIs, and may include modifications such as renaming a function, adding a function argument whose value is somehow context-dependent, and reorganizing a data structure. Beyond collateral evolutions, Coccinelle is successfully used (by INRIA and others) for finding and fixing bugs in systems code.
17 lines
594 B
Plaintext
17 lines
594 B
Plaintext
$OpenBSD: patch-pycaml_Makefile,v 1.1.1.1 2011/05/14 15:02:50 sthen Exp $
|
|
--- pycaml/Makefile.orig Sat Jan 29 14:43:21 2011
|
|
+++ pycaml/Makefile Thu May 5 22:23:52 2011
|
|
@@ -1,9 +1,9 @@
|
|
#pad: was called Makefile.deb-pycaml before
|
|
|
|
OCAMLMAKEFILE = OCamlMakefile
|
|
-PY_PREFIX = $(shell python getprefix.py)
|
|
-PY_VERSION = $(shell python getversion.py)
|
|
-CLIBS = python$(PY_VERSION) pthread dl util m c
|
|
+PY_PREFIX = $(shell ${MODPY_BIN} getprefix.py)
|
|
+PY_VERSION = $(shell ${MODPY_BIN} getversion.py)
|
|
+CLIBS = python$(PY_VERSION) pthread util m c
|
|
|
|
SOURCES = pycaml.ml pycaml_ml.c
|
|
RESULT = pycaml
|