Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Sep 2014 13:34:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 193978] [NEW PORT] misc/countdown: Counts down a specified time interval, beeps, and then exits
Message-ID:  <bug-193978-13-i63G2A9Zhx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-193978-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-193978-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193978

--- Comment #6 from Jason E. Hale <jhale@FreeBSD.org> ---
(In reply to neel from comment #5)
> Created attachment 147803 [details]
> Stock Makefile for the deskutils/countdown port
> 
> I forgot to mention this: responding to Comment #4, my experience shows that
> the stock Makefile for countdown runs "make install" even if I just unzip
> the tar.gz archive and type in "make" without any arguments.
> 
> I did attach countdown's original Makefile (came from the .tar.gz itself -
> not modified) for you to see why I had the Makefile patch in Attachment
> 147751 [details].

If you ran "make install" inside the source directory, then make will use that
target, yes.  If you run "make" in the port directory, however, it will use
what you have in the do-install target.  If that is not the case, something is
seriously wrong.  Because of staging, if you run "make" without arguments in
the port directory, it will install into the stage directory automatically. 
"make install" will install what is in the stage directory to the system.

I did fail to notice that CC, CFLAGS, and LDFLAGS are not being respected in
the source Makefile.  I guess there needs to be a patch anyways.
CC should be defined with a ?=
CFLAGS should be defined with a += (and remove -O too so we are not forcing
optimizations)
LDFLAGS line should just be deleted since the stripping will be done
automatically by INSTALL_PROGRAM

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193978-13-i63G2A9Zhx>