View | Details | Raw Unified | Return to bug 74866
Collapse All | Expand All

(-)bsd.port.mk (-19 / +19 lines)
Lines 954-978 Link Here
954
USE_SUBMAKE=	yes
954
USE_SUBMAKE=	yes
955
.endif
955
.endif
956
956
957
# where 'make config' records user configuration options
958
PORT_DBDIR?=	/var/db/ports
959
960
.if defined(LATEST_LINK)
961
UNIQUENAME?=	${LATEST_LINK}
962
.else
963
UNIQUENAME?=	${PKGNAMEPREFIX}${PORTNAME}
964
.endif
965
OPTIONSFILE?=	${PORT_DBDIR}/${UNIQUENAME}/options
966
_OPTIONSFILE!=	${ECHO_CMD} "${OPTIONSFILE}"
967
.if defined(OPTIONS)
968
.if exists(${_OPTIONSFILE}) && !make(rmconfig)
969
.include "${_OPTIONSFILE}"
970
.endif
971
.if exists(${_OPTIONSFILE}.local)
972
.include "${_OPTIONSFILE}.local"
973
.endif
974
.endif
975
976
# check for old, crufty, makefile types, part 1:
957
# check for old, crufty, makefile types, part 1:
977
.if !defined(PORTNAME) || !( defined(PORTVERSION) || defined (DISTVERSION) ) || defined(PKGNAME)
958
.if !defined(PORTNAME) || !( defined(PORTVERSION) || defined (DISTVERSION) ) || defined(PKGNAME)
978
check-makefile::
959
check-makefile::
Lines 1199-1204 Link Here
1199
# Owner and group of the WWW user
1180
# Owner and group of the WWW user
1200
WWWOWN?=	www
1181
WWWOWN?=	www
1201
WWWGRP?=	www
1182
WWWGRP?=	www
1183
1184
# where 'make config' records user configuration options
1185
PORT_DBDIR?=	/var/db/ports
1186
1187
.if defined(LATEST_LINK)
1188
UNIQUENAME?=	${LATEST_LINK}
1189
.else
1190
UNIQUENAME?=	${PKGNAMEPREFIX}${PORTNAME}
1191
.endif
1192
OPTIONSFILE?=	${PORT_DBDIR}/${UNIQUENAME}/options
1193
_OPTIONSFILE!=	${ECHO_CMD} "${OPTIONSFILE}"
1194
.if defined(OPTIONS)
1195
.if exists(${_OPTIONSFILE}) && !make(rmconfig)
1196
.include "${_OPTIONSFILE}"
1197
.endif
1198
.if exists(${_OPTIONSFILE}.local)
1199
.include "${_OPTIONSFILE}.local"
1200
.endif
1201
.endif
1202
1202
1203
.endif
1203
.endif
1204
# End of pre-makefile section.
1204
# End of pre-makefile section.

Return to bug 74866