:(
This commit is contained in:
parent
b3026da9e7
commit
03ac7fa316
3
configure
vendored
3
configure
vendored
@ -189,10 +189,9 @@ else
|
|||||||
echo "Using compiler $CC"
|
echo "Using compiler $CC"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ -z "$DEBUG" ] && DEBUG=yes
|
|
||||||
|
|
||||||
echo "CC = $CC" >>$CONFIG_MK
|
echo "CC = $CC" >>$CONFIG_MK
|
||||||
echo "CFLAGS = -O2" >>$CONFIG_MK
|
echo "CFLAGS = -Oz" >>$CONFIG_MK
|
||||||
|
|
||||||
echo "LDFLAGS = -L\$(TOPDIR)/lib" >>$CONFIG_MK
|
echo "LDFLAGS = -L\$(TOPDIR)/lib" >>$CONFIG_MK
|
||||||
echo "CPPFLAGS = -I. -I\$(TOPDIR) -I\$(TOPDIR)/include" >>$CONFIG_MK
|
echo "CPPFLAGS = -I. -I\$(TOPDIR) -I\$(TOPDIR)/include" >>$CONFIG_MK
|
||||||
|
@ -15,7 +15,7 @@ install:
|
|||||||
install -m644 xbps.d.5 $(DESTDIR)$(MANDIR)/man5
|
install -m644 xbps.d.5 $(DESTDIR)$(MANDIR)/man5
|
||||||
install -d $(DESTDIR)$(PKGCONFIGDIR)
|
install -d $(DESTDIR)$(PKGCONFIGDIR)
|
||||||
install -m644 $(PCFILE) $(DESTDIR)$(PKGCONFIGDIR)
|
install -m644 $(PCFILE) $(DESTDIR)$(PKGCONFIGDIR)
|
||||||
install -d $(DESTDIR)/$(DBDIR)/keys
|
-install -d $(DESTDIR)/$(DBDIR)/keys
|
||||||
install -m644 *.plist $(DESTDIR)/$(DBDIR)/keys
|
install -m644 *.plist $(DESTDIR)/$(DBDIR)/keys
|
||||||
install -d $(DESTDIR)/$(SHAREDIR)/xbps.d
|
install -d $(DESTDIR)/$(SHAREDIR)/xbps.d
|
||||||
install -m644 repod-main.conf $(DESTDIR)/$(SHAREDIR)/xbps.d/00-repository-main.conf
|
install -m644 repod-main.conf $(DESTDIR)/$(SHAREDIR)/xbps.d/00-repository-main.conf
|
||||||
|
@ -94,7 +94,7 @@ libxbps.a: $(LIBFETCH_OBJS) $(LIBPROP_OBJS) $(OBJS)
|
|||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install: all
|
install: all
|
||||||
install -d $(DESTDIR)$(LIBDIR)
|
-install -d $(DESTDIR)$(LIBDIR)
|
||||||
install -m 644 libxbps.a $(DESTDIR)$(LIBDIR)
|
install -m 644 libxbps.a $(DESTDIR)$(LIBDIR)
|
||||||
install -m 755 $(LIBXBPS_SHLIB) $(DESTDIR)$(LIBDIR)
|
install -m 755 $(LIBXBPS_SHLIB) $(DESTDIR)$(LIBDIR)
|
||||||
cp -a libxbps.so $(DESTDIR)$(LIBDIR)
|
cp -a libxbps.so $(DESTDIR)$(LIBDIR)
|
||||||
|
@ -31,6 +31,7 @@
|
|||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
|
#include <linux/limits.h>
|
||||||
|
|
||||||
#include <openssl/err.h>
|
#include <openssl/err.h>
|
||||||
#include <openssl/sha.h>
|
#include <openssl/sha.h>
|
||||||
|
@ -22,7 +22,7 @@ clean:
|
|||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install: all
|
install: all
|
||||||
install -d $(DESTDIR)$(SBINDIR)
|
-install -d $(DESTDIR)$(SBINDIR)
|
||||||
install -m 755 $(BIN) $(DESTDIR)$(SBINDIR)
|
install -m 755 $(BIN) $(DESTDIR)$(SBINDIR)
|
||||||
ifdef BUILD_STATIC
|
ifdef BUILD_STATIC
|
||||||
install -m 755 $(BIN).static $(DESTDIR)$(SBINDIR)
|
install -m 755 $(BIN).static $(DESTDIR)$(SBINDIR)
|
||||||
|
Loading…
Reference in New Issue
Block a user