Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jun 2015 19:30:35 +0000 (UTC)
From:      "Philip M. Gollucci" <pgollucci@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r390722 - in head/net/miniupnpd: . files
Message-ID:  <201506271930.t5RJUZ3V043996@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@opnsense.org and brnrd@
  Approved by:         maintainer timeout (squat@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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506271930.t5RJUZ3V043996>