Also the Makefile was copied from the Samba makefile it seems, so I
fixed the first 5 comment lines so they were actually accurate.
Noticed from: bento errorlogs
something already there (PORTOBJFORMAT, OSVERSION) or move stuff from after
.include <bsd.port.mk> to before.
(This is not by any means the complete list but just the ones I've noticed
recently.)
cc -O2 -DHAVE_FCNTL_H=1 -DHAVE_NET_SLIP_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_ETHER_NTOA=1 -DHAVE_SETLINEBUF=1 -DSTDC_HEADERS=1 -DRETSIGTYPE=void -DRETSIGVAL= -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_TM_GMTOFF=1 -DLBL_ALIGN=1 -DPPP -DHAVE_FDDI -I. -c print-domain.c
print-domain.c:219: `T_UINFO' undeclared here (not in a function)
print-domain.c:219: initializer element for `type2str[29].v' is not constant
print-domain.c:220: `T_UID' undeclared here (not in a function)
print-domain.c:220: initializer element for `type2str[30].v' is not constant
print-domain.c:221: `T_GID' undeclared here (not in a function)
print-domain.c:221: initializer element for `type2str[31].v' is not constant
*** Error code 1