Skip to content

Instantly share code, notes, and snippets.

@Licenser
Created March 5, 2013 13:34
Show Gist options
  • Save Licenser/5090345 to your computer and use it in GitHub Desktop.
Save Licenser/5090345 to your computer and use it in GitHub Desktop.
diff --git a/rsyslog5/options.mk b/rsyslog5/options.mk
index 5d73f01..05367b8 100644
--- a/rsyslog5/options.mk
+++ b/rsyslog5/options.mk
@@ -18,7 +18,9 @@ PLIST_VARS+= gnutls gssapi mail mysql pgsql snmp klog solaris file
.if !empty(PKG_OPTIONS:Mgnutls)
.include "../../security/gnutls/buildlink3.mk"
+.include "../../security/libgcrypt/buildlink3.mk"
CONFIGURE_ARGS+= --enable-gnutls
+LDFLAGS+= -lgcrypt
PLIST.gnutls= yes
.endif
diff --git a/rsyslog6/options.mk b/rsyslog6/options.mk
index 5d73f01..05367b8 100644
--- a/rsyslog6/options.mk
+++ b/rsyslog6/options.mk
@@ -18,7 +18,9 @@ PLIST_VARS+= gnutls gssapi mail mysql pgsql snmp klog solaris file
.if !empty(PKG_OPTIONS:Mgnutls)
.include "../../security/gnutls/buildlink3.mk"
+.include "../../security/libgcrypt/buildlink3.mk"
CONFIGURE_ARGS+= --enable-gnutls
+LDFLAGS+= -lgcrypt
PLIST.gnutls= yes
.endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment