summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ctags/.footprint2
-rw-r--r--ctags/.md5sum1
-rw-r--r--ctags/Pkgfile6
-rw-r--r--ctags/ctags.diff22
4 files changed, 29 insertions, 2 deletions
diff --git a/ctags/.footprint b/ctags/.footprint
index 101c8b577..ad2db0217 100644
--- a/ctags/.footprint
+++ b/ctags/.footprint
@@ -1,6 +1,8 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/ctags
+lrwxrwxrwx root/root usr/bin/etags -> ctags
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/ctags.1.gz
+lrwxrwxrwx root/root usr/man/man1/etags.1.gz -> ctags.1.gz
diff --git a/ctags/.md5sum b/ctags/.md5sum
index cc60aaebd..5e791caa6 100644
--- a/ctags/.md5sum
+++ b/ctags/.md5sum
@@ -1 +1,2 @@
643cab63b39c8a24377dc4c781547d40 ctags-5.7.tar.gz
+c30a41cf0e0e417b482e2acb648f215f ctags.diff
diff --git a/ctags/Pkgfile b/ctags/Pkgfile
index 9c7d06212..01fe51cae 100644
--- a/ctags/Pkgfile
+++ b/ctags/Pkgfile
@@ -6,11 +6,13 @@
name=ctags
version=5.7
release=1
-source=(http://dl.sourceforge.net/$name/$name-$version.tar.gz)
+source=(http://dl.sourceforge.net/$name/$name-$version.tar.gz \
+ $name.diff)
build() {
cd $name-$version
- ./configure --prefix=/usr --disable-etags
+ patch -Np0 -i $SRC/$name.diff
+ ./configure --prefix=/usr --enable-etags
make
make prefix=$PKG/usr install
}
diff --git a/ctags/ctags.diff b/ctags/ctags.diff
new file mode 100644
index 000000000..e0510de4d
--- /dev/null
+++ b/ctags/ctags.diff
@@ -0,0 +1,22 @@
+Index: Makefile.in
+===================================================================
+--- Makefile.in (revision 663)
++++ Makefile.in (working copy)
+@@ -140,7 +140,7 @@
+ $(DEST_CTAGS): $(CTAGS_EXEC) $(bindir) FORCE
+ $(INSTALL_PROG) $(CTAGS_EXEC) $@ && chmod 755 $@
+
+-$(DEST_ETAGS):
++$(DEST_ETAGS): $(DEST_CTAGS)
+ - if [ -x $(DEST_CTAGS) ]; then \
+ cd $(bindir) && $(SLINK) $(CTAGS_EXEC) $(ETAGS_EXEC); \
+ fi
+@@ -155,7 +155,7 @@
+ $(DEST_CMAN): $(man1dir) $(MANPAGE) FORCE
+ - $(INSTALL_DATA) $(srcdir)/$(MANPAGE) $@ && chmod 644 $@
+
+-$(DEST_EMAN):
++$(DEST_EMAN): $(DEST_CMAN)
+ - if [ -f $(DEST_CMAN) ]; then \
+ cd $(man1dir) && $(SLINK) $(CMAN) $(EMAN); \
+ fi

Generated by cgit