diff options
author | dillo <dillo> | 2002-10-16 16:40:24 +0000 |
---|---|---|
committer | dillo <dillo> | 2002-10-16 16:40:24 +0000 |
commit | 27d32394090487d4d396f729efd239bfa4c23fd2 (patch) | |
tree | 472c9f709a5701fe1df534b0ac59896b02783945 /x11/lablgtk/patches | |
parent | 4be2f2c65a350eb125f19463025849a94af3e71f (diff) | |
download | pkgsrc-27d32394090487d4d396f729efd239bfa4c23fd2.tar.gz |
initial import of lablgtk 1.2.5
LablGTK is is an Objective Caml interface to gtk+.
Diffstat (limited to 'x11/lablgtk/patches')
-rw-r--r-- | x11/lablgtk/patches/patch-aa | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/x11/lablgtk/patches/patch-aa b/x11/lablgtk/patches/patch-aa new file mode 100644 index 00000000000..8a17fce1aa0 --- /dev/null +++ b/x11/lablgtk/patches/patch-aa @@ -0,0 +1,61 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/10/16 16:40:26 dillo Exp $ + +--- src/Makefile.orig Fri Aug 9 02:27:19 2002 ++++ src/Makefile +@@ -136,31 +136,38 @@ testcc: lablgladecc lablgtktop + rm -f testcc.ml + + install: +- if test -d $(INSTALLDIR); then : ; else mkdir -p $(INSTALLDIR); fi +- cp $(ALLOBJS:.cmo=.cmi) $(THOBJS:.cmo=.cmi) $(INSTALLDIR) +- cp -p *.mli $(INSTALLDIR) +- cp -p $(ALLOBJS:.cmo=.ml) $(ALLTHOBJS:.cmo=.ml) $(INSTALLDIR) +- cp $(MLLIBS) $(THOBJS) $(INITOBJS) $(THINITOBJS) $(INSTALLDIR) +- cp $(CLIBS) $(INSTALLDIR) +- cd $(INSTALLDIR) && $(RANLIB) $(CLIBS) +- cp lablgtktop varcc $(INSTALLDIR) +- if test -f lablgtktop_t; then cp lablgtktop_t $(INSTALLDIR); fi +- cp -p *.h $(INSTALLDIR) ++ if test -d $(INSTALLDIR); then : ; else ${INSTALL_DATA_DIR} ${INSTALLDIR}; fi ++ for F in $(ALLOBJS:.cmo=.cmi) $(THOBJS:.cmo=.cmi) *.mli \ ++ $(ALLOBJS:.cmo=.ml) $(ALLTHOBJS:.cmo=.ml) \ ++ $(MLLIBS) $(THOBJS) $(INITOBJS) $(THINITOBJS) $(CLIBS) *.h; \ ++ do \ ++ ${INSTALL_DATA} $$F ${INSTALLDIR}; \ ++ done ++ ${INSTALL_PROGRAM} lablgtktop $(INSTALLDIR) ++ ${INSTALL_SCRIPT} varcc $(INSTALLDIR) ++ if test -f lablgtktop_t; then ${INSTALL_PROGRAM} lablgtktop_t $(INSTALLDIR); fi + if test -f lablgtk.cmxa; then $(MAKE) installopt; fi + if test -f dlllablgtk.so; then \ +- cp $(CLIBS:lib%.a=dll%.so) $(DLLDIR) || \ +- echo "Couldn't install dlls in default location"; \ ++ for F in $(CLIBS:lib%.a=dll%.so); \ ++ do \ ++ ${INSTALL_DATA} $$F $(DLLDIR); \ ++ done; \ + fi +- cp lablgtk $(BINDIR) ++ ${INSTALL_SCRIPT} lablgtk $(BINDIR) + if test -f lablgladecc; then cp lablgladecc $(BINDIR); fi + + installopt: +- cp $(MLLIBS:.cma=.cmxa) $(MLLIBS:.cma=.a) $(INSTALLDIR) +- cd $(INSTALLDIR) && $(RANLIB) $(MLLIBS:.cma=.a) +- cp $(ALLOBJS:.cmo=.cmx) $(INSTALLDIR) +- cp $(INITOBJS:.cmo=.o) $(INSTALLDIR) ++ for F in $(MLLIBS:.cma=.cmxa) $(MLLIBS:.cma=.a) \ ++ $(ALLOBJS:.cmo=.cmx) $(INITOBJS:.cmo=.o); \ ++ do \ ++ ${INSTALL_DATA} $$F $(INSTALLDIR); \ ++ done + if test -f gtkThread.cmx; then \ +- cp $(THOBJS:.cmo=.cmx) $(THOBJS:.cmo=.o) $(INSTALLDIR); fi ++ for F in $(THOBJS:.cmo=.cmx) $(THOBJS:.cmo=.o); \ ++ do \ ++ ${INSTALL_DATA} $$F $(INSTALLDIR); \ ++ done; \ ++ fi + + liblablgtk.a: $(COBJS) + $(LIBRARIAN) -o lablgtk $(COBJS) $(GTKLIBS) |