pkgsrc/archivers/arj/patches/patch-ac
minskim 3ca62e0038 Make this package build on Darwin.
- Include mount.h to use statfs.
  - Use chown(2) if lchown(2) is unavailable.  (Can be problematic,
    but no easy solution.)
  - Pass -bundle to gcc to build a Mach-o bundle format file.
2005-03-22 16:24:13 +00:00

22 lines
465 B
Text

$NetBSD: patch-ac,v 1.3 2005/03/22 16:24:13 minskim Exp $
--- gnu/makefile.in.orig Sat Apr 17 06:28:06 2004
+++ gnu/makefile.in
@@ -53,7 +53,7 @@ DEBUG_SM = d
ALL_CFLAGS += -g -DDEBUG
else
DEBUG_SM = r
-ADD_LDFLAGS = -s @LD_STRIP@
+ADD_LDFLAGS = @LD_STRIP@
endif
ALL_CFLAGS += $(CFLAGS)
@@ -166,7 +166,7 @@ MAKE_KEY=$(TOOLS_DIR)/make_key$x
endif
all: prepare timestamp
- $(MAKE) do-all
+ $(MAKE) -f makefile.gnu do-all
do-all: \
$(ARJ_DIR)/arj$x \