Add PLIST.sed substitution
!%%fragment%% -> PFRAG.no-fragment Useful for no_X11-like flavors.
This commit is contained in:
parent
dd7a7ff893
commit
eb03402014
@ -1,6 +1,6 @@
|
||||
#-*- mode: Fundamental; tab-width: 4; -*-
|
||||
# ex:ts=4 sw=4 filetype=make:
|
||||
FULL_REVISION=$$OpenBSD: bsd.port.mk,v 1.282 2000/05/18 19:59:21 espie Exp $$
|
||||
FULL_REVISION=$$OpenBSD: bsd.port.mk,v 1.283 2000/05/22 13:43:55 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 $
|
||||
#
|
||||
@ -732,10 +732,10 @@ _FEXT:=
|
||||
. endif
|
||||
. for _i in ${FLAVORS:L}
|
||||
. if empty(FLAVOR:L:M${_i})
|
||||
SED_PLIST+=|sed -e '/%%${_i}%%/d'
|
||||
SED_PLIST+=|sed -e '/!%%${_i}%%/r${PKGDIR}/PFRAG.no-${_i}' -e '//d' -e '/%%${_i}%%/d'
|
||||
. else
|
||||
_FEXT:=${_FEXT}-${_i}
|
||||
SED_PLIST+=|sed -e '/%%${_i}%%/r${PKGDIR}/PFRAG.${_i}' -e '//d'
|
||||
SED_PLIST+=|sed -e '/!%%${_i}%%/d' -e '/%%${_i}%%/r${PKGDIR}/PFRAG.${_i}' -e '//d'
|
||||
. endif
|
||||
. endfor
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user