Subject: Re: xorg-libs buildlink doesn't copy libraries [DragonFly]
To: Todd Willey <xtoddx@gmail.com>
From: Juan RP <juan@xtraeme.nopcode.org>
List: tech-pkg
Date: 03/23/2005 22:42:49
On Wed, 23 Mar 2005 21:33:49 +0000
Todd Willey <xtoddx@gmail.com> wrote:
> I've tracked the problem down a bit more. The correct packaging list
> isn't specified, and PLIST.DragonFly is ignored. This means that
> `pkg_info -f xorg-libs` does't report all the files to the buildlink
> process, since the correct PLIST isn't generated when it is installed.
>
> client-241# bmake show-var VARNAME=OPSYS
> DragonFly
>
> client-241# pwd
> /usr/pkgsrc/x11/xorg-libs
>
> client-241# bmake show-var VARNAME=PLIST_SRC
> /usr/pkgsrc/x11/xorg-libs/PLIST.common
> /usr/pkgsrc/x11/xorg-libs/PLIST.common_i18n
> /usr/pkgsrc/x11/xorg-libs/PLIST.common_end
>
> Isn't PLIST.${OPSYS} automagically included in the build process?
Hmm, I think I know what's the problem, try this patch:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/x11/xorg-libs/Makefile,v
retrieving revision 1.16
diff -b -u -r1.16 Makefile
--- Makefile 22 Mar 2005 09:48:48 -0000 1.16
+++ Makefile 23 Mar 2005 21:42:14 -0000
@@ -60,6 +60,8 @@
PLIST_SRC+= ${.CURDIR}/PLIST.${OPSYS}
PLIST_SRC+= ${.CURDIR}/PLIST.${OPSYS}.i386
. endif
+.else
+PLIST_SRC+= ${.CURDIR}/PLIST.${OPSYS}
.endif
PLIST_SRC+= ${.CURDIR}/PLIST.common
.if ${OPSYS} != "Darwin"