Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/pkgsrc/mk/bsd.hacks.mk,v rcsdiff: /ftp/cvs/cvsroot/pkgsrc/mk/bsd.hacks.mk,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.1 retrieving revision 1.3 diff -u -p -r1.1 -r1.3 --- pkgsrc/mk/bsd.hacks.mk 2004/11/14 07:23:07 1.1 +++ pkgsrc/mk/bsd.hacks.mk 2006/07/15 23:58:52 1.3 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.hacks.mk,v 1.1 2004/11/14 07:23:07 jlam Exp $ +# $NetBSD: bsd.hacks.mk,v 1.3 2006/07/15 23:58:52 rillig Exp $ # # Copyright (c) 2004 The NetBSD Foundation, Inc. # All rights reserved. @@ -57,15 +57,13 @@ # .endif # FOO_HACKS_MK # -------------8<-------------8<-------------8<-------------8<------------- -.include "../../mk/bsd.prefs.mk" - PKG_HACKS?= # empty -.if exists(${.CURDIR}/hacks.mk) -. include "${.CURDIR}/hacks.mk" +.if exists(${PKGDIR}/hacks.mk) +. include "${PKGDIR}/hacks.mk" .endif # Record any package hacks that we use in the installed package. .if !empty(PKG_HACKS) -BUILD_DEFS+= PKG_HACKS +_BUILD_DEFS+= PKG_HACKS .endif