Summary: | New port: net/nfsshell (nfs command tool) | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Johan van Selst <johans> | ||||
Component: | Individual Port(s) | Assignee: | Volker Stolz <vs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Johan van Selst
2005-02-05 23:00:40 UTC
State Changed From-To: open->feedback Please do not overwrite CC/CFLAGS. Can you check with 'ldd' what happends when devel/readline is installed? Responsible Changed From-To: freebsd-ports-bugs->vs Claim. Am 09. Feb 2005 um 10:06 CET schrieb Johan van Selst: > Volker Stolz wrote: > > Please do not overwrite CC/CFLAGS. > > Note that this port doesn't come with a configure script or any other > automated detection: what is set in the Makefile is what you get. > Although I suppose you can still remove these lines from the supplied > Makefile and go with make(1)'s default idea of a sensible CC and CFLAGS. > But you will still need to include -DREADLINE somewhere. Yes, but it's your obligation to do this. Either patch the lines to use "?=" instead of "=" or check if setting MAKE_ARGS=... in the port's Makefile works. Cheers, Volker -- http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME Volker Stolz wrote:
> > But you will still need to include -DREADLINE somewhere.
> Yes, but it's your obligation to do this.
Naturally.
Here's an updated version of files/patch-Makefile
--- Makefile.orig Tue May 19 22:37:23 1998
+++ Makefile Wed Feb 9 10:36:26 2005
@@ -22,10 +22,15 @@
#
# uncomment the following 4 lines for Solaris 2.x
-CC = gcc
-CFLAGS = -DSYSV -DREADLINE -I/usr/local/include
-LIBS = -lsocket -L/usr/ucblib -R/usr/ucblib -lrpcsoc -lnsl \
- -L/usr/local/lib -lreadline -lhistory -ltermlib
+#CC = gcc
+#CFLAGS = -DSYSV -DREADLINE -I/usr/local/include
+#LIBS = -lsocket -L/usr/ucblib -R/usr/ucblib -lrpcsoc -lnsl \
+# -L/usr/local/lib -lreadline -lhistory -ltermlib
+
+# uncomment the following 3 lines for FreeBSD
+CC ?= gcc
+CFLAGS += -DREADLINE
+LIBS = -lreadline
# uncomment the following 3 lines for AIX
#CC = gcc
State Changed From-To: feedback->closed New port added, thanks! |