summaryrefslogtreecommitdiff
path: root/irc/psybnc/files/patch-ah
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-02-06 01:53:07 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-02-06 01:53:07 +0000
commitbc4d0f9efed55e839cef3b876b68e0df1f5b8c70 (patch)
tree3ed0ecf685ad7a7c936e78537a0d00c38cef4b28 /irc/psybnc/files/patch-ah
parentNew port: x11/windowmaker (diff)
New port: psybnc
psyBNC is an extremely powerful IRC bouncer with multiple unique features. PR: ports/45720 Submitted by: Mina Naguib <webmaster@topfx.com>
Notes
Notes: svn path=/head/; revision=74935
Diffstat (limited to 'irc/psybnc/files/patch-ah')
-rw-r--r--irc/psybnc/files/patch-ah23
1 files changed, 23 insertions, 0 deletions
diff --git a/irc/psybnc/files/patch-ah b/irc/psybnc/files/patch-ah
new file mode 100644
index 000000000000..b93ae35f9bc5
--- /dev/null
+++ b/irc/psybnc/files/patch-ah
@@ -0,0 +1,23 @@
+--- ./tools/autoconf.c Fri May 17 13:21:08 2002
++++ ../../psybnc.mina/tools/autoconf.c Sun Nov 24 19:43:42 2002
+@@ -442,9 +442,9 @@
+ fprintf(makefile,"INCLUDE = -I./src/ -I.\n");
+ fprintf(makefile,"OBJS = src/psybnc.o src/match.o src/p_client.o src/p_crypt.o src/p_dcc.o src/p_hash.o src/p_idea.o src/p_inifunc.o src/p_link.o src/p_log.o src/p_memory.o src/p_network.o src/p_parse.o src/p_peer.o src/p_server.o src/p_socket.o src/p_string.o src/p_sysmsg.o src/p_userfile.o src/p_uchannel.o src/p_script.o src/p_topology.o src/p_intnet.o src/p_blowfish.o src/p_translate.o src/p_coredns.o src/snprintf.o %s\n",env);
+ if(provi==0)
+- fprintf(makefile,"DEFINE = -DHAVE_CONFIG %s%s%s%s%s%s\n",sunosopt,bigopt,ipv6opt,timeopt,sslopt,dnsopt);
++ fprintf(makefile,"DEFINE = -DHAVE_CONFIG %s%s%s%s%s%s -DPSYBASE=\\\"%s\\\" -DPREFIX=\\\"%s\\\"\n",sunosopt,bigopt,ipv6opt,timeopt,sslopt,dnsopt, PSYBASE, PREFIX);
+ else
+- fprintf(makefile,"DEFINE = -DHAVE_PROV_CONFIG %s%s%s%s%s%s\n",sunosopt,bigopt,ipv6opt,timeopt,sslopt,dnsopt);
++ fprintf(makefile,"DEFINE = -DHAVE_PROV_CONFIG %s%s%s%s%s%s -DPSYBASE=\\\"%s\\\" -DPREFIX=\\\"%s\\\"\n",sunosopt,bigopt,ipv6opt,timeopt,sslopt,dnsopt, PSYBASE, PREFIX);
+ fprintf(makefile,"TARGET = psybnc\n");
+ fprintf(makefile,"\n");
+ fprintf(makefile,"all: $(OBJS)\n");
+@@ -452,7 +452,7 @@
+ fprintf(makefile," @strip $(TARGET)\n");
+ if(ssl==0)
+ {
+- if(!fexists("key/psybnc.cert.pem")) /* only create, if not exist */
++ if(!fexists(PSYBASE "/key/psybnc.cert.pem")) /* only create, if not exist */
+ {
+ mkdir("key",0700);
+ fprintf(makefile," @echo \"*** GENERATING SSL-KEYS FROM CERTIFICATE **\"\n");