Antoine Jacoutot <[EMAIL PROTECTED]> wrote:

> Here is a port of the latest mgetty+sendfax version (1.1.33).
[...]
> Please test and comment. Thanks !

Looks like /etc is hardcoded in files/setup.  The same with Makefile
(patches/patch-Makefile).  Also it seems that this port doesn't honour
CC and maybe could use our BSD_INSTALL_PROGRAM, etc. (check bsd.port.mk).

--- Makefile.orig       Mon May 16 16:47:45 2005
+++ Makefile    Mon May 16 16:55:06 2005
@@ -4,8 +4,8 @@
 #
 # this is the C compiler to use (on SunOS, the standard "cc" does not
 # grok my code, so please use gcc there. On ISC 4.0, use "icc".).
-CC=gcc
-#CC=cc
+#CC=gcc
+CC=cc
 #
 #### C Compiler Flags ####
 #

Hmmm, this looks strange:

@@ -172,11 +172,11 @@
 #
 # prefix, where most (all?) of the stuff lives, usually /usr/local or
 # /usr
 #
-prefix=/usr/local
+prefix?=${PREFIX}
 #
 # prefix for all the spool directories (usually /usr/spool or
 # /var/spool)
 #
-spool=/var/spool
++spool?=/var/spool
 #
 # where the mgetty + sendfax binaries live (used for "make install")
 #

Why there is double ++ before spool?

Oh, and try running make plist or make regress, see?

Alek
-- 
Howard miał tylko jeden o wystarczającym rozmiarze - wsiowy kapelusz
zostawiony przez jakiegoś makrocefalicznego budowlańca z Australii, pewnie
dlatego, że jego aromat zaczął przyciągać nocne gryzonie o skłonnościach do
bezcelowego gryzienia wszystkiego.
 -- Neal Stephenson, Cryptonomicon

Reply via email to