Subject: Re: xorg-libs buildlink doesn't copy libraries [DragonFly]
To: Juan RP <juan@xtraeme.nopcode.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 03/23/2005 13:48:08
On Wed, 23 Mar 2005, Juan RP wrote:

> > 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"

Yes, the new Darwin support made PLIST_SRC get defined, so the
mk/bsd.pkg.mk code to set PLIST_SRC was skipped.

This should be reverted to use the mk/bsd.pkg.mk code for this.
Because now an additional PLIST.OPSYS.MACHINE_ARCH will be skipped too.


 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links
	  	 	 http://www.bsdnewsletter.com/