summaryrefslogtreecommitdiff
path: root/package/pptpd/patches/patch-plugins_Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-06-02 00:18:33 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-06-02 00:18:33 +0200
commit7027e2c318e1f47e914015fc0f13992a4dcbb32a (patch)
treebf5b26fd82f68224dc0fc8f19f7a1fd369e45dfd /package/pptpd/patches/patch-plugins_Makefile
parentb240ad215b66df5ca95426eb8c4fcc93924be8b7 (diff)
update to latest upstream and fix cross-compile on Cygwin
Diffstat (limited to 'package/pptpd/patches/patch-plugins_Makefile')
-rw-r--r--package/pptpd/patches/patch-plugins_Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/pptpd/patches/patch-plugins_Makefile b/package/pptpd/patches/patch-plugins_Makefile
new file mode 100644
index 000000000..cb32dd4ce
--- /dev/null
+++ b/package/pptpd/patches/patch-plugins_Makefile
@@ -0,0 +1,11 @@
+--- pptpd-1.3.4.orig/plugins/Makefile 2006-08-03 04:02:01.000000000 +0200
++++ pptpd-1.3.4/plugins/Makefile 2010-05-30 00:31:31.390625000 +0200
+@@ -1,6 +1,6 @@
+-CC = gcc
++CC ?= gcc
+ COPTS = -O2 -g
+-CFLAGS = $(COPTS) -I.. -I../../include -fPIC
++CFLAGS ?= $(COPTS) -I.. -I../../include -fPIC
+ LDFLAGS = -shared
+ LDADD = -lutil
+ INSTALL = install -o root