Fix installation path on FreeBSD and DragonFly (#1589)

This commit is contained in:
Mateusz Piotrowski 2020-02-19 05:33:51 +01:00 committed by naq
parent 74136cab65
commit ce548096fb

View File

@ -99,10 +99,10 @@ LIBDATADIR = $(LIBDIR)
ifndef USE_GENERIC_LIBDATADIR ifndef USE_GENERIC_LIBDATADIR
ifeq ($(UNAME_S), FreeBSD) ifeq ($(UNAME_S), FreeBSD)
LIBDATADIR = $(PREFIX)/libdata LIBDATADIR = $(DESTDIR)$(PREFIX)/libdata
endif endif
ifeq ($(UNAME_S), DragonFly) ifeq ($(UNAME_S), DragonFly)
LIBDATADIR = $(PREFIX)/libdata LIBDATADIR = $(DESTDIR)$(PREFIX)/libdata
endif endif
endif endif