$FreeBSD$ --- pbx/Makefile.orig +++ pbx/Makefile @@ -23,8 +23,8 @@ # Add KDE Console if appropriate #PBX_LIBS+=$(shell [ "$$QTDIR" != "" ] && echo "pbx_kdeconsole.so") -GTK_FLAGS=`${CROSS_COMPILE_BIN}gtk-config --cflags gthread` -GTK_LIBS=`${CROSS_COMPILE_BIN}gtk-config --libs gthread` +#GTK_FLAGS=`${CROSS_COMPILE_BIN}gtk-config --cflags gthread` +#GTK_LIBS=`${CROSS_COMPILE_BIN}gtk-config --libs gthread` MOC=$(QTDIR)/bin/moc KDE_FLAGS=-I$(KDEDIR)/include -I$(KDEDIR)/include/kde -I$(QTDIR)/include KDE_LIBS=-L$(KDEDIR)/lib -L$(QTDIR)/lib -lqt -lkdecore -lkdeui @@ -72,7 +72,7 @@ endif install: all - for x in $(PBX_LIBS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(MODULES_DIR) ; done + for x in $(PBX_LIBS); do $(BSD_INSTALL_PROGRAM) $$x $(DESTDIR)$(MODULES_DIR) ; done depend: .depend