DragonFly BSD
DragonFly users List (threaded) for 2010-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: No package installation method works

From: Torbjorn Granlund <tg@xxxxxxxxxx>
Date: Thu, 21 Oct 2010 13:58:19 +0200

Dylan Reinhold <dylan@ocnetworking.com> writes:

  On 10/20/2010 11:30 PM, Torbjorn Granlund wrote:
  > Someone replied privately:
  >    The problem here is that you are using make instead of bmake (which
  >    needs to be used for pkgsrc things).
  > Ah, this indeed work.  I'll try to remember this when I, in some months,
  > need to install some additional pacage.
  > Thanks to all who replied!
  What if make gave a 'hint' when run in /usr/pkgsrc.
  Something like
  # make
  make called in /usr/pkgsrc/www/zope, did you mean bmake?
  make: no target to make.

I am not a DragonflyBSD hacker, but I think your approach is a little
bit ugly, if I may say so.

It would be neater to have /usr/Makefile identify make and write a

	@if [ `basename $(MAKE)` != bmake ]; then echo "Use bmake stupid"; exit 1;	fi

all:    .INIT
	blah blah

anothertarget:  .INIT
	blah blah

(Not too neat either, but this will at least work even with pkgsrc in a a
non-standard place.)


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]