svn commit: r390722 - in head/net/miniupnpd: . files
Philip M. Gollucci
pgollucci at FreeBSD.org
Sat Jun 27 19:30:35 UTC 2015
Author: pgollucci
Date: Sat Jun 27 19:30:34 2015
New Revision: 390722
URL: https://svnweb.freebsd.org/changeset/ports/390722
Log:
net/miniupnpd: properly link against ports OpenSSL/LibreSSL
PR: 199390
Submitted by: franco at opnsense.org and brnrd@
Approved by: maintainer timeout (squat at squat.no ; 76 days)
Added:
head/net/miniupnpd/files/patch-Makefile (contents, props changed)
Modified:
head/net/miniupnpd/Makefile
Modified: head/net/miniupnpd/Makefile
==============================================================================
--- head/net/miniupnpd/Makefile Sat Jun 27 18:45:44 2015 (r390721)
+++ head/net/miniupnpd/Makefile Sat Jun 27 19:30:34 2015 (r390722)
@@ -24,6 +24,9 @@ MAKE_JOBS_UNSAFE=yes
USE_OPENSSL= yes
USE_RC_SUBR= miniupnpd
+CFLAGS+= -I${OPENSSLINC}
+LDFLAGS+= -L${OPENSSLLIB}
+
OPTIONS_DEFINE= PF_ENABLE_FILTER_RULES CHECK_PORTINUSE IPV6 UPNP_IGDV2 UPNP_STRICT LEASEFILE
PF_ENABLE_FILTER_RULES_DESC= Enable pf generation of filter rules
CHECK_PORTINUSE_DESC= Check if ports are in use
Added: head/net/miniupnpd/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/miniupnpd/files/patch-Makefile Sat Jun 27 19:30:34 2015 (r390722)
@@ -0,0 +1,11 @@
+--- Makefile.orig 2014-06-30 12:03:05 UTC
++++ Makefile
+@@ -204,7 +204,7 @@ depend: config.h
+ testgetroute.c testportinuse.c testasyncsendto.c
+
+ miniupnpd: config.h $(ALLOBJS)
+- $(CC) $(CFLAGS) -o $@ $(ALLOBJS) $(LIBS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(ALLOBJS) $(LIBS)
+
+ # BSDmake :
+ # $(CC) $(CFLAGS) -o $@ $> $(LIBS)
More information about the svn-ports-all
mailing list