[Lunar-commits] <moonbase-other> re-alpine: fix library order for as-needed

v4hn me at v4hn.de
Sun Nov 3 03:18:19 CET 2013


commit b063ea57fdbdbb1012f3e7e9f9cccbba8d433adb
Author: v4hn <me at v4hn.de>
Date: Sat, 02 Nov 2013 19:16:15 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/b063ea57fdbdbb1012f3e7e9f9cccbba8d433adb

re-alpine: fix library order for as-needed

This module is _crap_ concerning linking...
I'll just solve this via LIBS in this case
---
  mail/re-alpine/BUILD | +6/-5     
  1 file changed, 6 insertions(+), 5 deletions(-)

--- a/mail/re-alpine/BUILD
+++ b/mail/re-alpine/BUILD
@@ -1,14 +1,15 @@
-(
-
   OPTS+=" --without-tcl \
           --with-smime \
           --without-passfile \
           --with-system-pinerc=/etc/alpine.d/pine.conf \
           --with-system-fixed-pinerc=/etc/alpine.d/pine.conf.fixed \
-          --with-ssl-certs-dir=/etc/ssl/certs"
+          --with-ssl-certs-dir=/etc/ssl/certs" &&
 
   patch_it $SOURCE2 1 &&
 
-  default_build
+  if module_installed Linux-PAM; then
+    export LIBS+=" -lpam"
+  fi &&
 
-) > $C_FIFO 2>&1
+  export LIBS+=" -lcrypt -lcrypto" &&
+  default_build




More information about the Lunar-commits mailing list