[arch-general] makepkg is creating BOTH a /pkg and pkgusr on build??
David C. Rankin
drankinatty at suddenlinkmail.com
Fri May 18 09:56:13 EDT 2012
On 05/18/2012 08:44 AM, David C. Rankin wrote:
> Allan, Dennis, thanks.
>
> I will check for a matching .proto file with new packages. I don't know if
> that would have helped here. The issue was in the Makefile:
>
> src/gebc-1.07/Makefile:am__installdirs = "$(DESTDIR)$(bindir)"
> src/gebc-1.07/Makefile: echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
> src/gebc-1.07/Makefile: $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
>
> I had tried both
>
> make DESTDIR=$pkgdir install
>
> and
>
> make DESTDIR="$pkgdir/" install
<snip>
Aye, yi, yi..... The "$pkgdir/" would have worked fine. (stupid moment). I was
building in a tmp folder, but the copy of the PKGBUILD I had open was in the
original gebc dir.... so the changes I made to the PKGBUILD were not made in the
tmp dir I was building in -- I hate it when that happens....
No sed calls needed and the trailing "${pkgdir}/" was all that was needed.
--
David C. Rankin, J.D.,P.E.
More information about the arch-general
mailing list