openbsd-ports/editors/openoffice/patches/patch-odk_util_makefile_pmk
kurt 6ac8e1075c - sync patches
- no need to patch and search and replace on packagelist.txt when a
simple patch will do
- fix name of the epm patch
- disable parallel builds. Our user-land pthreads lib converts fd's to be
non-blocking which causes intermittent build failures when a parallel
process can't deal with non-blocking fd's. For example cat and stdout.
parallel builds will need to wait for rthreads.
2006-10-19 15:16:50 +00:00

26 lines
659 B
Plaintext

$OpenBSD: patch-odk_util_makefile_pmk,v 1.2 2006/10/19 15:16:50 kurt Exp $
--- odk/util/makefile.pmk.orig.port Tue Jul 11 10:54:30 2006
+++ odk/util/makefile.pmk Thu Oct 19 10:47:53 2006
@@ -65,7 +65,7 @@ IDLOUT=$(SOLARIDLDIR)
XMLOUT=$(SOLARXMLDIR)
LIBOUT=$(SOLARLIBDIR)
-.IF "$(OS)"=="FREEBSD" || "$(OS)"=="NETBSD"
+.IF "$(OS)"=="FREEBSD" || "$(OS)"=="NETBSD" || "$(OS)"=="OPENBSD"
MY_COPY=$(GNUCOPY)
MY_COPY_RECURSIVE=$(GNUCOPY) -r
.ELSE
@@ -143,6 +143,12 @@ DESTPLATFROM=netbsd
# FREEBSD
###########
DESTPLATFROM=freebsd
+
+.ELIF "$(OS)"=="OPENBSD"
+###########
+# OPENBSD
+###########
+DESTPLATFROM=openbsd
.ELIF "$(OS)"=="IRIX"
###########