handle modbuild (perl module) stuff similarly to what gnu does.

there's no actual reason not to do it.
This commit is contained in:
espie 2012-04-17 09:31:47 +00:00
parent f80e858ef8
commit 390cba80df

View File

@ -1,6 +1,6 @@
#-*- mode: Makefile; tab-width: 4; -*-
# ex:ts=4 sw=4 filetype=make:
# $OpenBSD: bsd.port.mk,v 1.1162 2012/04/16 09:21:39 espie Exp $
# $OpenBSD: bsd.port.mk,v 1.1163 2012/04/17 09:31:47 espie Exp $
# $FreeBSD: bsd.port.mk,v 1.264 1996/12/25 02:27:44 imp Exp $
# $NetBSD: bsd.port.mk,v 1.62 1998/04/09 12:47:02 hubertf Exp $
#
@ -258,6 +258,12 @@ CONFIGURE_STYLE += gnu
. endif
.endif
.if ${CONFIGURE_STYLE:L:Mmodbuild}
. if !${CONFIGURE_STYLE:L:Mperl}
CONFIGURE_STYLE += perl
. endif
.endif
.for _i in perl gnu imake
. if ${CONFIGURE_STYLE:L:M${_i}}
MODULES += ${_i}