You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
503 B

  1. --- a/Makefile
  2. +++ b/Makefile
  3. @@ -1,4 +1,4 @@
  4. -GLIBC=$(shell grep -s -c __GLIBC__ /usr/include/features.h)
  5. +GLIBC=$(shell grep -s -c __GLIBC__ ${STAGING_DIR}/usr/include/features.h)
  6. # @(#) Makefile 1.23 97/03/21 19:27:20
  7. @@ -146,9 +146,11 @@ freebsd:
  8. LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ= NETGROUP= TLI= \
  9. EXTRA_CFLAGS=-DSYS_ERRLIST_DEFINED VSYSLOG= all
  10. +ifneq ($(GLIBC),)
  11. ifneq ($(GLIBC),0)
  12. MYLIB=-lnsl
  13. endif
  14. +endif
  15. linux:
  16. @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \