[Midnightbsd-cvs] mports: Makefile: use bsd.mport.options.mk

ctriv at midnightbsd.org ctriv at midnightbsd.org
Thu Oct 30 12:34:34 EDT 2008


Log Message:
-----------
use bsd.mport.options.mk

Modified Files:
--------------
    mports/www/lighttpd:
        Makefile (r1.10 -> r1.11)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/www/lighttpd/Makefile,v
retrieving revision 1.10
retrieving revision 1.11
diff -L www/lighttpd/Makefile -L www/lighttpd/Makefile -u -r1.10 -r1.11
--- www/lighttpd/Makefile
+++ www/lighttpd/Makefile
@@ -40,13 +40,14 @@
 		OPENSSL		"Enable SSL support"	on  \
 		OPENLDAP	"Enable LDAP support"	off
 
-.include <bsd.port.pre.mk>
+.include <bsd.mport.options.mk>
 
 # Default REQUIRE to rc.d script
 _REQUIRE=	DAEMON
 
 .if !defined(WITHOUT_OPENSSL)
-.include "${PORTSDIR}/Mk/bsd.openssl.mk"
+EXTENSIONS+=		openssl
+USE_OPENSSL_BASE=	yes
 CONFIGURE_ARGS+=	--with-openssl \
 			--with-openssl-includes=${OPENSSLINC} \
 			--with-openssl-libs=${OPENSSLLIB}
@@ -97,6 +98,8 @@
 
 SUB_LIST+=		REQUIRE="${_REQUIRE}"
 
+.include <bsd.port.pre.mk>
+
 post-patch:
 	@${REINPLACE_CMD} -E -e 's|-D_XOPEN_SOURCE=600||' ${WRKSRC}/configure.in
 


More information about the Midnightbsd-cvs mailing list