aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>1999-11-29 05:40:58 +0800
committergreen <green@FreeBSD.org>1999-11-29 05:40:58 +0800
commit01606d651d1088458fbc31625696648c7895e34c (patch)
tree76553208e367b1b4d0332f5a6324aa287c0ef41d /security
parentb7cfd93bf26a7eaa304d61dae2e413ec88d3fda5 (diff)
downloadfreebsd-ports-gnome-01606d651d1088458fbc31625696648c7895e34c.tar.gz
freebsd-ports-gnome-01606d651d1088458fbc31625696648c7895e34c.tar.zst
freebsd-ports-gnome-01606d651d1088458fbc31625696648c7895e34c.zip
Change CFLAGS to get modified in Makefile.inc, fixing the
problem several people have reported with make.conf setting ${CFLAGS}. Partially submitted by: Jos Backus <Jos.Backus@nl.origin-it.com>
Diffstat (limited to 'security')
-rw-r--r--security/openssh/Makefile1
-rw-r--r--security/openssh/files/patch-ab9
2 files changed, 6 insertions, 4 deletions
diff --git a/security/openssh/Makefile b/security/openssh/Makefile
index 2900b46c85e5..e21f2032fdd7 100644
--- a/security/openssh/Makefile
+++ b/security/openssh/Makefile
@@ -22,7 +22,6 @@ RESTRICTED= "Links with cryptographic code."
CAT?= /bin/cat
DISTFILES!= ${CAT} ${FILESDIR}/distfiles
-CFLAGS+= -DHAVE_OPENPTY -I${PREFIX}/include
CVS_CMD?= cvs -z3
CVS_DATE= Tue Nov 23 18:52:21 EST 1999
SED?= /usr/bin/sed
diff --git a/security/openssh/files/patch-ab b/security/openssh/files/patch-ab
index 277f63f225b6..e9be90b4c08c 100644
--- a/security/openssh/files/patch-ab
+++ b/security/openssh/files/patch-ab
@@ -1,6 +1,6 @@
--- /usr/ports/distfiles/OpenSSH-1.2/src/usr.bin/ssh/Makefile.inc Mon Oct 25 16:27:26 1999
-+++ ./Makefile.inc Tue Nov 23 19:19:33 1999
-@@ -2,10 +2,9 @@
++++ Makefile.inc Sun Nov 28 16:29:13 1999
+@@ -2,10 +2,13 @@
.include <bsd.obj.mk>
@@ -12,6 +12,9 @@
+KERBEROS?= no
+SKEY?= no
+TCP_WRAPPERS?= yes
++.if !defined(MAKEFILE_INC_FIRST_PASS)
++MAKEFILE_INC_FIRST_PASS= 0
++CFLAGS+= -DHAVE_OPENPTY -I${PREFIX}/include
LDADD+= -L${.CURDIR}/../lib -lssh
DPADD+= ${.CURDIR}/../lib/libssh.a
--.endif
+ .endif