diff options
author | jlam <jlam> | 2001-08-29 22:55:36 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-08-29 22:55:36 +0000 |
commit | 584585d34288ad7525460381b58961edda2c8ff1 (patch) | |
tree | b8263022d2268d32018bc381839d8c3e3894809e /Packages.txt | |
parent | b1cf2d6a0d781b36b3e41c1761bd09b0d1e714ae (diff) | |
download | pkgsrc-584585d34288ad7525460381b58961edda2c8ff1.tar.gz |
Update slightly to document x11.buildlink.mk.
Diffstat (limited to 'Packages.txt')
-rw-r--r-- | Packages.txt | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/Packages.txt b/Packages.txt index b3f53537724..31b314e114e 100644 --- a/Packages.txt +++ b/Packages.txt @@ -1,4 +1,4 @@ -# $NetBSD: Packages.txt,v 1.181 2001/08/25 02:17:02 jlam Exp $ +# $NetBSD: Packages.txt,v 1.182 2001/08/29 22:55:36 jlam Exp $ ########################################################################### ========================== @@ -1545,18 +1545,18 @@ Where possible, the system headers and libraries are renamed when linked into ${BUILDLINK_DIR} to match the names of their pkgsrc counterparts so that the files may be referenced under a consistent name. -Goal (2) requires some work on the part of the package builder and can -still only be incompletely met. As all headers and libraries used by a -package may be found in ${BUILDLINK_DIR}, and -I${BUILDLINK_DIR}/include -and -L${BUILDLINK_DIR}/lib are already passed to the compiler, it is no -longer necessary to pass -I${LOCALBASE}/include or -L${LOCABASE}/lib to the -compiler. Therefore, those lines should be removed from package Makefiles, -and where necessary, the package sources should be patched to do the same. -If USE_BUILDLINK_ONLY is defined, then -L${LOCALBASE}/lib is not -automatically added to LDFLAGS in bsd.pkg.mk. However, this process -provides isolated builds only for platforms that use xpkgwedge as we -can't currently isolate the X11R6 files from package files installed under -${X11BASE}. +Goal (2) requires some work on the part of the package builder. As all +headers and libraries used by a package may be found in ${BUILDLINK_DIR}, +and -I${BUILDLINK_DIR}/include and -L${BUILDLINK_DIR}/lib are already passed +to the compiler, it is no longer necessary to pass -I${LOCALBASE}/include or +-L${LOCABASE}/lib to the compiler. Therefore, those lines should be removed +from package Makefiles, and where necessary, the package sources should be +patched to do the same. Also, if a package uses X11, then by including +mk/x11.buildlink.mk, -I${BUILDLINK_X11_DIR}/include and +-L${BUILDLINK_X11_DIR}/lib are also passed to the compiler instead of the +corresponding directories in ${X11BASE}. Also, if USE_BUILDLINK_ONLY is +defined, then -L${LOCALBASE}/lib is not automatically added to LDFLAGS in +bsd.pkg.mk. 8.2 Writing buildlink.mk files @@ -1604,6 +1604,7 @@ buildlink.mk files: USE_MOTIF --> .include "../../x11/lesstif/buildlink.mk" USE_MOTIF12 --> .include "../../x11/lesstif12/buildlink.mk" USE_SSL --> .include "../../security/openssl/buildlink.mk" + USE_X11 --> .include "../../mk/x11.buildlink.mk" USE_XAW --> .include "../../mk/xaw.buildlink.mk" USE_XPM --> .include "../../graphics/xpm/buildlink.mk" |