TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: Alexander Kruglikov
from: andrew clarke
date: 2018-12-22 00:58:00
subject: Husky 1.9 for macOS patch

22 Dec 18 00:54, I wrote to you:

 ac> I noticed Msged isn't included in the macOS zipfile, so tried to build
 ac> it myself.

There is also no huskymak.cfg for macOS included in the Husky archive, so I had 
to write one.

It would be good if one was already included.

Is this the same as yours?

(I chose to install to $HOME/opt/husky/ so I could build and install safely as 
non-root.)

=== Cut ===
-+- huskybse/huskymak.cfg       2018-12-11 13:08:00.000000000 +1100
+++ huskymak.cfg        2018-12-22 00:49:21.000000000 +1100
@@ -8,7 +8,7 @@

 # Prefix for all directories
 # Set to your homedir if you have no root privilegies
-PREFIX=/usr/local
+PREFIX=$(HOME)/opt/husky

 # Where libraries (both .a and .so files) should be placed
 # You should take care that this directory is listed in the LD_LIBRARY_PATH
@@ -66,10 +66,10 @@
 ##############################################################################

 # C-Compiler
-CC=gcc
+CC=cc

 # C++-Compiler
-CXX=g++
+CXX=c++

 #Msged needs access to a termcap library. Define its name here.
 #On Linux, termcap is integrated into ncurses:
@@ -79,7 +79,7 @@
 #TERMCAP=terminfo

 # C++-Compiler
-GPP=g++
+GPP=c++

 # Pascal-Compiler (the compiler is optional, but the value of this
 # variable must be defined even if you don't have a Pascal compiler).
@@ -116,7 +116,7 @@

 # update dynamic library cache
 # If your operating system does not need this, you may comment out this line.
-LDCONFIG=/sbin/ldconfig
+#LDCONFIG=/sbin/ldconfig

 # rename a file
 MV=mv
@@ -139,7 +139,8 @@
 OSTYPE=UNIX

 # short name of operating system (used for PID lines etc.)
-UNAME=LNX
+#UNAME=LNX
+UNAME=OSX
 #UNAME=BSD
 #UNAME=OS2
 #UNAME=BEOS
@@ -170,7 +171,7 @@
 # to avoid linkage with old .so files that may be floating around
 # (see 'ifeq ( $(DYNLIBS), 0 )' conditions)
 #
-DYNLIBS=1
+DYNLIBS=0

 # C-compiler: specify name of executable
 EXENAMEFLAG=-o
=== Cut ===

--- GoldED+/BSD 1.1.5-b20180707
                                     
* Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267)

SOURCE: echomail via QWK@dmine.net

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.