diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-04-26 14:23:41 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-04-26 14:23:41 +0800 |
commit | e2a688f868ea768807d4d98d82028b973565d241 (patch) | |
tree | 6c7ee07a5fd5d35fb6eea85aed171dea8fbd195a /security/ssh/files | |
parent | 7253cb8c88c3fd84eced53af11e66ba617c1b485 (diff) | |
download | freebsd-ports-gnome-e2a688f868ea768807d4d98d82028b973565d241.tar.gz freebsd-ports-gnome-e2a688f868ea768807d4d98d82028b973565d241.tar.zst freebsd-ports-gnome-e2a688f868ea768807d4d98d82028b973565d241.zip |
Fix libgmp breakage on -current.
Diffstat (limited to 'security/ssh/files')
-rw-r--r-- | security/ssh/files/patch-ac | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/security/ssh/files/patch-ac b/security/ssh/files/patch-ac index 1f4163606c09..29bdcba285ff 100644 --- a/security/ssh/files/patch-ac +++ b/security/ssh/files/patch-ac @@ -1,5 +1,5 @@ ---- Makefile.in.orig Wed May 12 04:19:31 1999 -+++ Makefile.in Sun Sep 17 01:39:40 2000 +--- Makefile.in.orig Wed May 12 14:19:31 1999 ++++ Makefile.in Fri Apr 26 09:19:30 2002 @@ -301,12 +301,17 @@ SHELL = /bin/sh @@ -7,9 +7,9 @@ -GMPLIBS = -L$(GMPDIR) -lgmp -GMPDEP = $(GMPDIR)/gmp.h $(GMPDIR)/libgmp.a +# We have the same libgmp in the system, so use it instead -+GMPINCDIR = /usr/include -+GMPLIBDIR = /usr/lib -+GMPLIBS = -lgmp ++GMPINCDIR ?= /usr/include ++GMPLIBDIR ?= /usr/lib ++GMPLIBS = -L$(GMPLIBDIR) -lgmp +GMPDEP = $(GMPINCDIR)/gmp.h $(GMPLIBDIR)/libgmp.a ZLIBDIR = zlib-1.0.4 @@ -27,7 +27,7 @@ .c.o: - $(CC) -c -I. $(KERBEROS_INCS) -I$(srcdir)/$(GMPDIR) -I$(srcdir)/$(ZLIBDIR) $(DEFS) -DHOST_KEY_FILE=\"$(HOST_KEY_FILE)\" -DHOST_CONFIG_FILE=\"$(HOST_CONFIG_FILE)\" -DSERVER_CONFIG_FILE=\"$(SERVER_CONFIG_FILE)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DETCDIR=\"$(etcdir)\" -DPIDDIR=\"$(piddir)\" -DSSH_BINDIR=\"$(bindir)\" -DTIS_MAP_FILE=\"$(TIS_MAP_FILE)\" $(CFLAGS) $(X_CFLAGS) $< -+ $(CC) -c -I. $(KERBEROS_INCS) -I$(srcdir)/$(GMPINCDIR) -I$(srcdir)/$(ZLIBINCDIR) $(DEFS) -DHOST_KEY_FILE=\"$(HOST_KEY_FILE)\" -DHOST_CONFIG_FILE=\"$(HOST_CONFIG_FILE)\" -DSERVER_CONFIG_FILE=\"$(SERVER_CONFIG_FILE)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DETCDIR=\"$(etcdir)\" -DPIDDIR=\"$(piddir)\" -DSSH_BINDIR=\"$(bindir)\" -DTIS_MAP_FILE=\"$(TIS_MAP_FILE)\" $(CFLAGS) $(X_CFLAGS) $< ++ $(CC) -c -I. $(KERBEROS_INCS) -I$(GMPINCDIR) -I$(srcdir)/$(ZLIBINCDIR) $(DEFS) -DHOST_KEY_FILE=\"$(HOST_KEY_FILE)\" -DHOST_CONFIG_FILE=\"$(HOST_CONFIG_FILE)\" -DSERVER_CONFIG_FILE=\"$(SERVER_CONFIG_FILE)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DETCDIR=\"$(etcdir)\" -DPIDDIR=\"$(piddir)\" -DSSH_BINDIR=\"$(bindir)\" -DTIS_MAP_FILE=\"$(TIS_MAP_FILE)\" $(CFLAGS) $(X_CFLAGS) $< sshd: $(SSHD_OBJS) $(GMPDEP) $(RSAREFDEP) $(ZLIBDEP) -rm -f sshd |