openbsd-ports/net/samba/patches/patch-source3_Makefile_in
2012-04-10 22:01:20 +00:00

26 lines
1.0 KiB
Plaintext

$OpenBSD: patch-source3_Makefile_in,v 1.1 2012/04/10 22:01:20 sthen Exp $
--- source3/Makefile.in.orig Sat Apr 7 14:23:20 2012
+++ source3/Makefile.in Tue Apr 10 22:56:36 2012
@@ -28,7 +28,7 @@ SHLD=@SHLD@
LIB_PATH_VAR=@LIB_PATH_VAR@
## Dynamic shared libraries build settings
-DSO_EXPORTS_CMD=-Wl,--version-script,$(srcdir)/exports/`basename $@ | sed 's:\.@SHLIBEXT@[\.0-9]*$$:.@SYMSEXT@:'`
+DSO_EXPORTS_CMD=-Wl,--version-script,$(srcdir)/exports/`basename $@ | sed 's/@SHLIBEXT@\(.[0-9]\{1,\}\)\{0,1\}\(.[0-9]\{1,\}\)\{0,1\}$$/@SYMSEXT@/'`
DSO_EXPORTS=@DSO_EXPORTS@
SHLD_DSO = $(SHLD) $(LDSHFLAGS) $(DSO_EXPORTS) -o $@
@@ -1674,11 +1674,7 @@ COMPILE = $(COMPILE_CC)
echo "Checking $*.c with '$(CC_CHECKER)'";\
$(CHECK_CC); \
fi
- @echo Compiling $*.c
- @$(COMPILE) && exit 0;\
- echo "The following command failed:" 1>&2;\
- echo "$(subst ",\",$(COMPILE_CC))" 1>&2;\
- $(COMPILE_CC) >/dev/null 2>&1
+ $(COMPILE)
@BROKEN_CC@ -mv `echo $@ | sed 's%^.*/%%g'` $@
PRECOMPILED_HEADER = $(builddir)/include/includes.h.gch