commit 10b91f0c8b0ba91223244b28d1cf413f09caa948 Author: Tilman Sauerbeck <tilman@crux.nu> Date: Sat Apr 26 22:10:19 2008 +0200 ctags: install the etags symlink. diff --git a/ctags/.footprint b/ctags/.footprint index 101c8b5..ad2db02 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 cc60aae..5e791ca 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 9c7d062..01fe51c 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 0000000..e0510de --- /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