summaryrefslogtreecommitdiff
path: root/corba
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-09-04 22:00:45 +0000
committeragc <agc@pkgsrc.org>1998-09-04 22:00:45 +0000
commit40004a434337cb248f535f33d6ec3a20abd0901b (patch)
tree1352245f95efc750b12842d85a0bcdcc288cd2e6 /corba
parent2dc72b771c1bd0cb80ac0af674c5cd2e827de675 (diff)
downloadpkgsrc-40004a434337cb248f535f33d6ec3a20abd0901b.tar.gz
Make this package use GNU indent, which can act as a filter, rather
than NetBSD's indent(1). As pointed out by Matthias Drochner.
Diffstat (limited to 'corba')
-rw-r--r--corba/ORBit/Makefile3
-rw-r--r--corba/ORBit/patches/patch-af18
2 files changed, 20 insertions, 1 deletions
diff --git a/corba/ORBit/Makefile b/corba/ORBit/Makefile
index be0f780d974..21ca2e4e610 100644
--- a/corba/ORBit/Makefile
+++ b/corba/ORBit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 1998/08/21 08:26:24 agc Exp $
+# $NetBSD: Makefile,v 1.3 1998/09/04 22:00:45 agc Exp $
#
DISTNAME= ORBit-0.2.1
@@ -12,6 +12,7 @@ GNU_CONFIGURE= yes
USE_LIBTOOL= yes
DEPENDS+= glib-1.1.2:../../devel/glib
+DEPENDS+= gindent-1.9.1:../../devel/gindent
LIBTOOL_FLAGS= --install-la
diff --git a/corba/ORBit/patches/patch-af b/corba/ORBit/patches/patch-af
new file mode 100644
index 00000000000..cdd10aef1ec
--- /dev/null
+++ b/corba/ORBit/patches/patch-af
@@ -0,0 +1,18 @@
+$NetBSD: patch-af,v 1.1 1998/09/04 22:00:46 agc Exp $
+
+Use GNU indent, not NetBSD indent(1).
+
+--- src/idl-compiler/orbit-c-backend.c 1998/09/04 21:28:47 1.1
++++ src/idl-compiler/orbit-c-backend.c 1998/09/04 21:29:03
+@@ -18,9 +18,9 @@
+ #ifndef HAVE_INDENT
+ #define INDENT "cat"
+ #elif HAVE_INDENT_KR
+-#define INDENT "indent -kr -i8 -bad -fca -sc -sob"
++#define INDENT "gindent -kr -i8 -bad -fca -sc -sob"
+ #else
+-#define INDENT "indent -bad -bap -bc -sob -br -ce -cli2 -npcs -di1 -psl -i3 -lp"
++#define INDENT "gindent -bad -bap -bc -sob -br -ce -cli2 -npcs -di1 -psl -i3 -lp"
+ #endif /* HAVE_INDENT */
+
+ void