aboutsummaryrefslogtreecommitdiff
path: root/devel/pwlib152/files
diff options
context:
space:
mode:
authorRoger Hardiman <roger@FreeBSD.org>2003-08-28 07:58:51 +0000
committerRoger Hardiman <roger@FreeBSD.org>2003-08-28 07:58:51 +0000
commit72e610aa055f0036b7c55b04ad90e58b9ce081c5 (patch)
tree24271c29f3165dff0a592b07d88697becc57c500 /devel/pwlib152/files
parent6dfae884310305643d29351bd388825b7c7f3c64 (diff)
downloadports-72e610aa055f0036b7c55b04ad90e58b9ce081c5.tar.gz
ports-72e610aa055f0036b7c55b04ad90e58b9ce081c5.zip
Notes
Diffstat (limited to 'devel/pwlib152/files')
-rw-r--r--devel/pwlib152/files/patch-unix70
1 files changed, 70 insertions, 0 deletions
diff --git a/devel/pwlib152/files/patch-unix b/devel/pwlib152/files/patch-unix
new file mode 100644
index 000000000000..205bd870e479
--- /dev/null
+++ b/devel/pwlib152/files/patch-unix
@@ -0,0 +1,70 @@
+*** make/unix.mak.orig Thu Aug 28 08:39:18 2003
+--- make/unix.mak Thu Aug 28 08:42:30 2003
+*************** endif # linux
+*** 338,348 ****
+
+ ifeq ($(OSTYPE),FreeBSD)
+
+! ifeq ($(MACHTYPE),x86)
+! ifdef CPUTYPE
+! STDCCFLAGS += -mcpu=$(CPUTYPE)
+! endif
+! endif
+
+ ifndef OSRELEASE
+ OSRELEASE := $(shell sysctl -n kern.osreldate)
+--- 338,348 ----
+
+ ifeq ($(OSTYPE),FreeBSD)
+
+! #ifeq ($(MACHTYPE),x86)
+! #ifdef CPUTYPE
+! #STDCCFLAGS += -mcpu=$(CPUTYPE)
+! #endif
+! #endif
+
+ ifndef OSRELEASE
+ OSRELEASE := $(shell sysctl -n kern.osreldate)
+*************** SHELL := /bin/sh
+*** 871,881 ****
+
+ # Directories
+
+! ifdef PREFIX
+! UNIX_INC_DIR = $(PREFIX)/include/ptlib/unix
+! else
+ UNIX_INC_DIR = $(PWLIBDIR)/include/ptlib/unix
+! endif
+
+ ifndef UNIX_SRC_DIR
+ UNIX_SRC_DIR = $(PWLIBDIR)/src/ptlib/unix
+--- 871,881 ----
+
+ # Directories
+
+! ##ifdef PREFIX
+! ##UNIX_INC_DIR = $(PREFIX)/include/ptlib/unix
+! ##else
+ UNIX_INC_DIR = $(PWLIBDIR)/include/ptlib/unix
+! ##endif
+
+ ifndef UNIX_SRC_DIR
+ UNIX_SRC_DIR = $(PWLIBDIR)/src/ptlib/unix
+*************** LDFLAGS += $(DEBLDFLAGS)
+*** 912,918 ****
+ else
+
+ ifneq ($(OSTYPE),Darwin)
+! OPTCCFLAGS += -O3 -DNDEBUG
+ else
+ OPTCCFLAGS += -O2 -DNDEBUG
+ endif
+--- 912,919 ----
+ else
+
+ ifneq ($(OSTYPE),Darwin)
+! # OPTCCFLAGS += -O3 -DNDEBUG
+! OPTCCFLAGS += -DNDEBUG
+ else
+ OPTCCFLAGS += -O2 -DNDEBUG
+ endif