summaryrefslogtreecommitdiff
path: root/net/asterisk-oh323/files/patch-asterisk-driver::Makefile
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2014-05-04 10:51:02 +0000
committerRene Ladan <rene@FreeBSD.org>2014-05-04 10:51:02 +0000
commit32e92194b7278e4656bb4581bbdec8b4cfec766b (patch)
treedc2a77fb28bb97e39d913fa8c2e661b6e3af9bd3 /net/asterisk-oh323/files/patch-asterisk-driver::Makefile
parentRemove expired port: (diff)
Remove expired ports:
2014-04-30 x11-toolkits/gigi: Does not compile on 10 or higher 2014-04-30 net/asterisk-oh323: Depends on broken and unsupported asterisk14 2014-04-30 net/asterisk14: Broken and unsupported 2014-04-30 net/asterisk14-addons: Depends on broken and unsupported asterisk14 2014-04-30 ports-mgmt/pkg_install: Replaced by ports-mgmt/pkg 2014-05-01 x11-drivers/xf86-input-magictouch: Does not compile 2014-05-01 x11-drivers/xf86-video-cyrix: requires pciVideoPtr typedef 2014-05-01 x11-drivers/xf86-video-sis-intel: requires pciVideoPtr typedef 2014-05-01 net/py-spreadmodule: Depends on expired net/spread 2014-05-01 net/p5-Spread-Message: Depends on expired net/spread 2014-05-01 net/p5-POE-Component-Spread: Depends on expired net/spread 2014-05-01 net/p5-Spread-Session: Depends on expired net/spread 2014-05-01 sysutils/wmmemload: Broken 2014-05-01 lang/ml-pnet: Alpha-quality abandonware - Decommissioned Dec 2012 - Use mono 2014-05-01 lang/treecc: PNET dependency decommissioned Dec 2012 2014-05-01 lang/pnetlib: Alpha-quality abandonware - Decommissioned Dec 2012 - Use mono 2014-05-01 lang/pnet-base: Alpha-quality abandonware - Decommissioned Dec 2012 - Use mono 2014-05-01 benchmarks/pnetmark: PNET dependency decommissioned Dec 2012 2014-05-01 lang/pnet: Alpha-quality abandonware - Decommissioned Dec 2012 - Use mono 2014-05-01 x11-wm/stumpwm: Broken for more than 4 months 2014-05-01 sysutils/cpupowerd: Not maintained from upstream anymore and only supports ancient AMD K8. 2014-05-01 net/pchar: Obsolete, abandoned 2014-05-03 x11-fonts/texcm-ttf: Should be replaced by x11-fonts/stix-fonts
Notes
Notes: svn path=/head/; revision=352941
Diffstat (limited to 'net/asterisk-oh323/files/patch-asterisk-driver::Makefile')
-rw-r--r--net/asterisk-oh323/files/patch-asterisk-driver::Makefile128
1 files changed, 0 insertions, 128 deletions
diff --git a/net/asterisk-oh323/files/patch-asterisk-driver::Makefile b/net/asterisk-oh323/files/patch-asterisk-driver::Makefile
deleted file mode 100644
index 5e04c0e91046..000000000000
--- a/net/asterisk-oh323/files/patch-asterisk-driver::Makefile
+++ /dev/null
@@ -1,128 +0,0 @@
-
-$FreeBSD$
-
---- asterisk-driver/Makefile.orig
-+++ asterisk-driver/Makefile
-@@ -34,23 +34,23 @@
- ifndef SKIP_SUFFIX
- ifeq ($(OH323STAT),1)
- ifeq ($(OH323BUILDTYPE),debug) # Static, debug
-- LIBPTPATH=$(word 1,$(shell ls $(PWLIBDIR)/lib/libpt*_d_s.a))
-+ LIBPTPATH=$(word 1,$(shell ls $(SYSLIBDIR)/libpt*_d_s.a))
- else # Static, opt
-- LIBPTPATH=$(word 1,$(shell ls $(PWLIBDIR)/lib/libpt*_r_s.a))
-+ LIBPTPATH=$(word 1,$(shell ls $(SYSLIBDIR)/libpt*_r_s.a))
- endif
- else
- ifeq ($(OH323BUILDTYPE),debug) # Shared, debug
-- LIBPTPATH=$(word 1,$(shell ls $(PWLIBDIR)/lib/libpt*d.so))
-+ LIBPTPATH=$(word 1,$(shell ls $(SYSLIBDIR)/libpt*d.so))
- else # Shared, opt
-- LIBPTPATH=$(word 1,$(shell ls $(PWLIBDIR)/lib/libpt*r.so))
-+ LIBPTPATH=$(word 1,$(shell ls $(SYSLIBDIR)/libpt*r.so))
- endif
- endif
- LIBPTNAME=$(subst lib,,$(basename $(notdir $(LIBPTPATH))))
- else
- ifeq ($(OH323STAT),1)
-- LIBPTPATH=$(word 1,$(shell ls $(PWLIBDIR)/lib/$(LIBPT_BASE).a))
-+ LIBPTPATH=$(word 1,$(shell ls $(SYSLIBDIR)/$(LIBPT_BASE).a))
- else
-- LIBPTPATH=$(word 1,$(shell ls $(PWLIBDIR)/lib/$(LIBPT_BASE).so))
-+ LIBPTPATH=$(word 1,$(shell ls $(SYSLIBDIR)/$(LIBPT_BASE).so))
- endif
- LIBPTNAME=$(subst lib,,$(basename $(notdir $(LIBPTPATH))))
- endif
-@@ -59,42 +59,42 @@
- ifndef SKIP_SUFFIX
- ifeq ($(OH323STAT),1)
- ifeq ($(OH323BUILDTYPE),debug) # Static, debug
-- LIBH323PATH=$(word 1,$(shell ls $(OPENH323DIR)/lib/libh323*_d_s.a))
-+ LIBH323PATH=$(word 1,$(shell ls $(SYSLIBDIR)/libh323*_d_s.a))
- else
- ifeq ($(OH323BUILDTYPE),opt) # Static, opt
-- LIBH323PATH=$(word 1,$(shell ls $(OPENH323DIR)/lib/libh323*_r_s.a))
-+ LIBH323PATH=$(word 1,$(shell ls $(SYSLIBDIR)/libh323*_r_s.a))
- else # Static, opt, no trace
-- LIBH323PATH=$(word 1,$(shell ls $(OPENH323DIR)/lib/libh323*_n_s.a))
-+ LIBH323PATH=$(word 1,$(shell ls $(SYSLIBDIR)/libh323*_n_s.a))
- endif
- endif
- else
- ifeq ($(OH323BUILDTYPE),debug) # Shared, debug
-- LIBH323PATH=$(word 1,$(shell ls $(OPENH323DIR)/lib/libh323*d.so))
-+ LIBH323PATH=$(word 1,$(shell ls $(SYSLIBDIR)/libh323*d.so))
- else
- ifeq ($(OH323BUILDTYPE),opt) # Shared, opt
-- LIBH323PATH=$(word 1,$(shell ls $(OPENH323DIR)/lib/libh323*r.so))
-+ LIBH323PATH=$(word 1,$(shell ls $(SYSLIBDIR)/libh323*r.so))
- else # Shared, opt, no trace
-- LIBH323PATH=$(word 1,$(shell ls $(OPENH323DIR)/lib/libh323*n.so))
-+ LIBH323PATH=$(word 1,$(shell ls $(SYSLIBDIR)/libh323*n.so))
- endif
- endif
- endif
- LIBH323NAME=$(subst lib,,$(basename $(notdir $(LIBH323PATH))))
- else
- ifeq ($(OH323STAT),1)
-- LIBH323PATH=$(word 1,$(shell ls $(OPENH323DIR)/lib/$(LIBH323_BASE).a))
-+ LIBH323PATH=$(word 1,$(shell ls $(SYSLIBDIR)/$(LIBH323_BASE).a))
- else
-- LIBH323PATH=$(word 1,$(shell ls $(OPENH323DIR)/lib/$(LIBH323_BASE).so))
-+ LIBH323PATH=$(word 1,$(shell ls $(SYSLIBDIR)/$(LIBH323_BASE).so))
- endif
- LIBH323NAME=$(subst lib,,$(basename $(notdir $(LIBH323PATH))))
- endif
- LIBH323=$(LIBH323NAME)
-
- ifndef SKIP_EXTLIBS
-- EXTLIBS=$(shell $(PWLIBDIR)/make/ptlib-config --libs)
-+ EXTLIBS=$(shell $(PWLIBDIR)/make/ptlib-config --ldflags --libs)
- endif
-
- CFLAGS += -pipe -Wstrict-prototypes -Wmissing-prototypes \
-- -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -fPIC -g -O6 \
-+ -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -fPIC -g \
- -fomit-frame-pointer -DAST_MODULE=\"chan_oh323.so\"
-
- DRVDEPS=$(shell ls *.h)
-@@ -116,6 +116,7 @@
- if [ ! -d $(DESTDIR)$(ASTERISKETCDIR) ]; then \
- $(INSTALL) -d $(DESTDIR)$(ASTERISKETCDIR); \
- fi
-+ $(INSTALL) -m 0644 oh323.conf.sample $(DESTDIR)$(ASTERISKETCDIR)/
- if [ ! -f $(DESTDIR)$(ASTERISKETCDIR)/oh323.conf ]; then \
- $(INSTALL) -m 0644 oh323.conf.sample $(DESTDIR)$(ASTERISKETCDIR)/oh323.conf; \
- fi
-@@ -151,19 +152,27 @@
- @if [ ! -f "$(LIBH323PATH)" ]; then \
- echo "ERROR: No OPENH323 library found!"; exit 1; \
- fi
-+ifeq ($(OH323NOWRAP),1)
-+ $(CC) -shared -Xlinker -x -g -o $@ $(TARGET_OBJ) \
-+ ../wrapper/*.o \
-+ -L$(SYSLIBDIR) -l$(LIBH323) \
-+ -L$(SYSLIBDIR) -l$(LIBPT) \
-+ -lstdc++ $(EXTLIBS)
-+else
- ifeq ($(OH323STAT),1)
- $(CC) -shared -Xlinker -x -g -o $@ $(TARGET_OBJ) \
- -L../wrapper -loh323wrap_s \
-- -L$(OPENH323DIR)/lib -l$(LIBH323) \
-- -L$(PWLIBDIR)/lib -l$(LIBPT) \
-+ -L$(SYSLIBDIR) -l$(LIBH323) \
-+ -L$(SYSLIBDIR) -l$(LIBPT) \
- -lstdc++ $(EXTLIBS)
- else
- $(CC) -shared -Xlinker -x -g -o $@ $(TARGET_OBJ) \
- -L../wrapper -loh323wrap \
-- -L$(OPENH323DIR)/lib -l$(LIBH323) \
-- -L$(PWLIBDIR)/lib -l$(LIBPT) \
-+ -L$(SYSLIBDIR) -l$(LIBH323) \
-+ -L$(SYSLIBDIR) -l$(LIBPT) \
- -lstdc++ $(EXTLIBS)
- endif
-+endif
-
- %.o: %.c $(DRVDEPS)
- $(CC) $(CFLAGS) $(ASTERISKINCLUDE) -c -o $@ $<