use -L if necessary.

This commit is contained in:
espie 2004-01-28 22:15:21 +00:00
parent 22a42aec05
commit 32f593bbc3

View File

@ -1,6 +1,6 @@
#-*- mode: Makefile; tab-width: 4; -*-
# ex:ts=4 sw=4 filetype=make:
# $OpenBSD: bsd.port.mk,v 1.604 2004/01/28 22:13:40 espie Exp $
# $OpenBSD: bsd.port.mk,v 1.605 2004/01/28 22:15:21 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 $
#
@ -669,6 +669,9 @@ _PKG_PREREQ+=${WRKPKG}/MESSAGE${SUBPACKAGE}
PKG_ARGS+= -S ${WRKINST}
.endif
PKG_ARGS+=-A'${PKG_ARCH}'
.if ${LOCALBASE} != "/usr/local"
PKG_ARGS+=-L${LOCALBASE}
.endif
.if !defined(_COMMENT)
ERRORS+="Fatal: Missing comment."
.endif