Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=040c39651e6796e53372188e0644abc7a0483ab4
commit 040c39651e6796e53372188e0644abc7a0483ab4 Author: Miklos Vajna <vmik...@frugalware.org> Date: Thu Jul 15 09:47:32 2010 +0200 pptpd-1.3.4-1-i686 - version bump - add patch so that plugins are installed using DESTDIR as well diff --git a/source/network-extra/pptpd/FrugalBuild b/source/network-extra/pptpd/FrugalBuild index 64f1884..d4e77e5 100644 --- a/source/network-extra/pptpd/FrugalBuild +++ b/source/network-extra/pptpd/FrugalBuild @@ -2,8 +2,8 @@ # Maintainer: pete <p...@teamlupus.hu> pkgname=pptpd -pkgver=1.3.2 -pkgrel=4 +pkgver=1.3.4 +pkgrel=1 pkgdesc="Poptop is the PPTP server solution for Linux." _F_sourceforge_dirname="poptop" Finclude sourceforge @@ -13,7 +13,7 @@ groups=('network-extra') backup=(etc/{pptpd.conf,ppp/options.pptpd}) archs=('i686' 'x86_64') up2date="lynx -dump $url |grep current|sed 's/.*]\(.*\)/\1/;q'" -source=($source README.Frugalware) +source=($source destdir.patch README.Frugalware) build() { @@ -26,5 +26,6 @@ build() Fdoc README.Frugalware } -sha1sums=('f693b077a5aefb1e5b0d5baa65619c5cd71af562' \ +sha1sums=('3d1faf99055e420bafa96c96e8871a888c50b4e8' \ + '11d252449171a975cb5e568e2f8322e269effd9b' \ 'b428b2c7a8971dc660ea6c6749811d2aaf155c35') diff --git a/source/network-extra/pptpd/destdir.patch b/source/network-extra/pptpd/destdir.patch new file mode 100644 index 0000000..70d6820 --- /dev/null +++ b/source/network-extra/pptpd/destdir.patch @@ -0,0 +1,23 @@ +diff --git a/plugins/Makefile b/plugins/Makefile +index 059cba1..f4da2a8 100644 +--- a/plugins/Makefile ++++ b/plugins/Makefile +@@ -18,14 +18,14 @@ all: $(PLUGINS) + %.so: %.c + $(CC) -o $@ $(LDFLAGS) $(CFLAGS) $^ $(LDADD) + +-LIBDIR ?= $(DESTDIR)$(prefix)/lib/pptpd ++LIBDIR ?= $(prefix)/lib/pptpd + + install: $(PLUGINS) +- $(INSTALL) -d $(LIBDIR) +- $(INSTALL) $? $(LIBDIR) ++ $(INSTALL) -d $(DESTDIR)$(LIBDIR) ++ $(INSTALL) $? $(DESTDIR)$(LIBDIR) + + uninstall: +- rm -f $(LIBDIR)$(PLUGINS) ++ rm -f $(DESTDIR)$(LIBDIR)$(PLUGINS) + + clean: + rm -f *.o *.so *.a _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git