ports/devel/libxalloc/files/Makefile.lib
Brooks Davis 9b1a5c1c07 Additional builds with with src r354909 applied.
The referenced change made NO_INSTALLLIB, NO_MAN, and NO_PROFILE into
errors causing these ports that declare them and use the FreeBSD make
infrastructure as part of their build to fail.

When the offending variables occur in a BSD Makefile, NO_MAN becomes
MAN= and NO_INSTALLLIB and NO_PROFILE become MK_INSTALLLIB=no and
MK_PROFILE=no respectively.  When declared in the environment they
become WITHOUT_<FOO>.

Also GC NO_MANCOMPRESSED which doesn't do anything.

In the case of devel/libpasori, this change accomplished the same thing
as the change in r518434, but more directly (fix the Makefiles rather
than patching them after they are installed).
2019-12-20 23:24:40 +00:00

17 lines
300 B
Text

PREFIX?= /usr/local
SHLIB_VER?= 1
LIB= xalloc
LIBDIR= ${PREFIX}/lib
SHLIB_MAJOR= ${SHLIB_VER}
SHLIB_MINOR= 0
MK_PROFILE= no
NO_OBJ= yes
INCS= xalloc.h
INCSDIR=${PREFIX}/include
INCDIR= ${INCSDIR} # for 4.x bsd.lib.mk
SRCS= xalloc.c xmalloc.c xcalloc.c xrealloc.c xstrdup.c
.include <bsd.lib.mk>