[arch-commits] Commit in proxytunnel/trunk (PKGBUILD)

George Rawlinson grawlinson at archlinux.org
Fri Jun 11 00:57:57 UTC 2021


    Date: Friday, June 11, 2021 @ 00:57:56
  Author: grawlinson
Revision: 961943

fixed sed invocation in prepare()

Modified:
  proxytunnel/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-11 00:32:15 UTC (rev 961942)
+++ PKGBUILD	2021-06-11 00:57:56 UTC (rev 961943)
@@ -16,8 +16,8 @@
 
 prepare() {
   cd "$pkgname-$pkgver"
-  # append -DOPENSSL11 to CFLAGS: See ptstream.c
-  sed '/^CFLAGS/ s/$/ -DOPENSSL11/' Makefile
+  # append -DOPENSSL11 to CFLAGS via SSL-specific OPTFLAGS: See ptstream.c
+  sed -i '/^OPTFLAGS += -DUSE_SSL$/ s/$/ -DOPENSSL11/' Makefile
 }
 
 build() {



More information about the arch-commits mailing list