packages: pptpd/pptpd-install.patch - adjusted for 1.3.4

amateja amateja at pld-linux.org
Sat May 23 16:29:16 CEST 2009


Author: amateja                      Date: Sat May 23 14:29:16 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- adjusted for 1.3.4

---- Files affected:
packages/pptpd:
   pptpd-install.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/pptpd/pptpd-install.patch
diff -u packages/pptpd/pptpd-install.patch:1.2 packages/pptpd/pptpd-install.patch:1.3
--- packages/pptpd/pptpd-install.patch:1.2	Fri Jan  7 11:22:37 2005
+++ packages/pptpd/pptpd-install.patch	Sat May 23 16:29:10 2009
@@ -1,10 +1,9 @@
-diff -burN pptpd-1.2.1.orig/plugins/Makefile pptpd-1.2.1/plugins/Makefile
---- pptpd-1.2.1.orig/plugins/Makefile	2005-01-07 11:18:52.856051664 +0100
-+++ pptpd-1.2.1/plugins/Makefile	2005-01-07 11:21:42.709230056 +0100
-@@ -2,8 +2,9 @@
- COPTS	= -O2 -g
+--- pptpd-1.3.4/plugins/Makefile.orig	2009-05-23 16:23:40.732859812 +0200
++++ pptpd-1.3.4/plugins/Makefile	2009-05-23 16:25:42.874008528 +0200
+@@ -3,8 +3,9 @@
  CFLAGS	= $(COPTS) -I.. -I../../include -fPIC
  LDFLAGS	= -shared
+ LDADD   = -lutil
 -INSTALL	= install -o root
 -prefix  = /usr/local
 +INSTALL	= install -c
@@ -13,11 +12,11 @@
  
  PLUGINS = pptpd-logwtmp.so
  
-@@ -17,7 +18,7 @@
+@@ -18,7 +19,7 @@
  %.so: %.c
- 	$(CC) -o $@ $(LDFLAGS) $(CFLAGS) $^
+ 	$(CC) -o $@ $(LDFLAGS) $(CFLAGS) $^ $(LDADD)
  
--LIBDIR	= $(DESTDIR)$(prefix)/lib/pptpd
+-LIBDIR	?= $(DESTDIR)$(prefix)/lib/pptpd
 +LIBDIR	= $(DESTDIR)$(libdir)/pptpd
  
  install: $(PLUGINS)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pptpd/pptpd-install.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list