- Pass maintainership to submitter - While here, remove dead mirrors and use SF macro PR: 134715 Submitted by: "Dmitry N. Kolesnikov" <dk.diklab@gmail.com>
48 lines
1.3 KiB
Plaintext
48 lines
1.3 KiB
Plaintext
--- cliplibs/Makefile.orig 2006-10-30 18:15:19.000000000 +0500
|
|
+++ cliplibs/Makefile 2009-05-19 02:08:45.000000000 +0600
|
|
@@ -4,22 +4,31 @@
|
|
|
|
include $(CLIPROOT)/include/Makefile.inc
|
|
#
|
|
+# FreeBSD changes:
|
|
+# - remove some directories from being built automatically
|
|
+# - switch from shell for (which never fails) to phony targets (fail fast)
|
|
+# - build in any directories specified in OPT_CLIPLIBS
|
|
+# - execute install target to install libs into the temporary CLIPROOT
|
|
+# under WRKSRC, so the rest of clip can find them
|
|
+# - clip-xml built before clip-ui.
|
|
|
|
dirs = clip-gzip clip-bzip2 clip-crypto clip-gd clip-fcgi \
|
|
clip-gtk clip-gtkextra clip-gtk2 \
|
|
- clip-mysql clip-postgres clip-oracle clip-interbase clip-odbc \
|
|
- clip-com clip-oasis clip-rtf clip-r2d2 \
|
|
- clip-xml clip-glade2 clip-ui
|
|
-
|
|
-#clip-cti clip-fw
|
|
-
|
|
-all local user system install lib:
|
|
- for dir in $(dirs); \
|
|
- do \
|
|
- (cd $$dir ;\
|
|
- [ -x ./configure ] && ./configure ;\
|
|
- $(MAKE) $@ );\
|
|
- done
|
|
+ clip-com clip-oasis clip-rtf clip-r2d2 clip-xml clip-ui \
|
|
+ clip-glade2
|
|
+
|
|
+dirs += $(OPT_CLIPLIBS)
|
|
+
|
|
+.PHONY: subdirs $(dirs)
|
|
+
|
|
+subdirs: $(dirs)
|
|
+
|
|
+$(dirs):
|
|
+ cd $@; ( [ -x ./configure ] && ./configure ) || true
|
|
+ $(MAKE) -C $@
|
|
+ $(MAKE) -C $@ install
|
|
+
|
|
+all local user system install lib: subdirs
|
|
|
|
clean:
|
|
for dir in $(dirs); \
|