mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
6d80918d43
o Check __FreeBSD_version < 500018 which doesn't have libreadline 4.2 PR: 38454, 39640 Submitted by: Tilman Linneweh <tilman@arved.de>, KATO Tsuguru <tkato@prontomail.com>
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
--- Makefile.in.orig Fri Jun 21 18:13:49 2002
|
|
+++ Makefile.in Thu Jul 4 15:46:48 2002
|
|
@@ -14,6 +14,8 @@
|
|
|
|
oldincludedir = /usr/include
|
|
|
|
+CPPFLAGS = @CPPFLAGS@
|
|
+
|
|
LDFLAGS = @LDFLAGS@ -L$(libdir)
|
|
LIBS = @LIBS@
|
|
SHELL = /bin/sh
|
|
@@ -21,7 +23,7 @@
|
|
|
|
|
|
CC = @CC@
|
|
-CFLAGS= @CFLAGS@ -DVERSION=\"$(VERSION)\" -DSYSCONFDIR=\"$(sysconfdir)\" -Wall -I . -I $(includedir)
|
|
+CFLAGS= @CFLAGS@ $(CPPFLAGS) -DVERSION=\"$(VERSION)\" -DSYSCONFDIR=\"$(sysconfdir)\" -Wall -I . -I $(includedir)
|
|
SOURCES = main.c signals.c utils.c readline.c pty.c completion.c term.c
|
|
OBJECTS = main.o signals.o utils.o readline.o pty.o completion.o term.o
|
|
TESTCLIENT=testclient
|
|
@@ -50,10 +52,11 @@
|
|
check: @CHECK@
|
|
|
|
no_perl :
|
|
- @echo "warning: test client not made because configure didn't find perl"
|
|
+ sed -e 's#\@PERLBIN\@#/usr/bin/perl#' $(TESTCLIENT).in > $(TESTCLIENT) &&\
|
|
+ chmod a+x $(TESTCLIENT)
|
|
|
|
_testclient:
|
|
- perl -p -e 's#\@PERLBIN\@#$(PERL)#' $(TESTCLIENT).in > $(TESTCLIENT) &&\
|
|
+ sed -e 's#\@PERLBIN\@#$(PERL)#' $(TESTCLIENT).in > $(TESTCLIENT) &&\
|
|
chmod a+x $(TESTCLIENT)
|
|
|
|
_check: $(TESTCLIENT) rlwrap
|