Do not prepend DESTDIR twice when installing unicorn.pc on FreeBSD

This commit is contained in:
ant1 2016-12-17 07:25:06 +00:00
parent c8b3d62692
commit f6908e2c62

View file

@ -183,9 +183,9 @@ LIBDATADIR ?= $(LIBDIR)
ifndef USE_GENERIC_LIBDATADIR
ifeq ($(UNAME_S), FreeBSD)
LIBDATADIR = $(DESTDIR)$(PREFIX)/libdata
LIBDATADIR = $(PREFIX)/libdata
else ifeq ($(UNAME_S), DragonFly)
LIBDATADIR = $(DESTDIR)$(PREFIX)/libdata
LIBDATADIR = $(PREFIX)/libdata
endif
endif