diff options
author | sobomax <sobomax@FreeBSD.org> | 2006-01-17 22:27:45 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2006-01-17 22:27:45 +0000 |
commit | 41ebb09a42e72a07d9cba26b5f2fc07ef7a520cf (patch) | |
tree | a50c0ed1c778d55dabd7993a379cce54313ae9dd /net/asterisk16/files/patch-utils::Makefile | |
parent | a8a010f61e1ec050cb77ee08e4118d27c11faa85 (diff) | |
download | FreeBSD-ports-41ebb09a42e72a07d9cba26b5f2fc07ef7a520cf.zip FreeBSD-ports-41ebb09a42e72a07d9cba26b5f2fc07ef7a520cf.tar.gz |
Update to 1.2.1.
Diffstat (limited to 'net/asterisk16/files/patch-utils::Makefile')
-rw-r--r-- | net/asterisk16/files/patch-utils::Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/net/asterisk16/files/patch-utils::Makefile b/net/asterisk16/files/patch-utils::Makefile new file mode 100644 index 0000000..f3164c0 --- /dev/null +++ b/net/asterisk16/files/patch-utils::Makefile @@ -0,0 +1,34 @@ + +$FreeBSD$ + +--- utils/Makefile ++++ utils/Makefile +@@ -17,16 +17,16 @@ + CFLAGS+=-DNO_AST_MM + + ifeq ($(findstring BSD,${OSARCH}),BSD) +- CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include -L$(CROSS_COMPILE_TARGET)/usr/local/lib ++ CFLAGS+=-I$(CROSS_COMPILE_TARGET)$(LOCALBASE)/include -L$(CROSS_COMPILE_TARGET)$(LOCALBASE)/lib + endif + + TARGET=stereorize streamplayer + +-ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/popt.h)$(wildcard -f $(CROSS_COMPILE_TARGET)/usr/local/include/popt.h),) ++ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/popt.h)$(wildcard -f $(CROSS_COMPILE_TARGET)$(LOCALBASE)/include/popt.h),) + TARGET+=smsq + endif + +-ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/newt.h)$(wildcard -f $(CROSS_COMPILE_TARGET)/usr/local/include/newt.h),) ++ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/newt.h)$(wildcard -f $(CROSS_COMPILE_TARGET)$(LOCALBASE)/include/newt.h),) + TARGET+=astman + endif + +@@ -40,7 +40,7 @@ + install: + for x in $(TARGET); do \ + if [ "$$x" != "none" ]; then \ +- $(INSTALL) -m 755 $$x $(DESTDIR)$(ASTSBINDIR)/$$x; \ ++ $(BSD_INSTALL_PROGRAM) $$x $(DESTDIR)$(ASTSBINDIR)/$$x; \ + fi; \ + done + |