mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-24 04:41:25 +00:00
distro/archbsd/this - as we don't depend on glibc there, just libc; also changed DESTDIR in archlinux/this/Makefile so it can be easily changed from the bsd Makefile
This commit is contained in:
parent
7af8c70bf9
commit
ce07e8fe28
2 changed files with 8 additions and 3 deletions
4
distro/archbsd/this/Makefile
Normal file
4
distro/archbsd/this/Makefile
Normal file
|
@ -0,0 +1,4 @@
|
|||
all:
|
||||
$(MAKE) -f ../../archlinux/this/Makefile \
|
||||
LIBC_DEPEND=libc \
|
||||
DESTDIR=distro/archbsd/this
|
|
@ -9,9 +9,10 @@ CARCH := $(shell uname -m)
|
|||
PKGDIR := gmqcc-$(MAJOR).$(MINOR).$(PATCH)-$(PKGREL)-$(CARCH)
|
||||
PKG := $(PKGDIR).pkg.tar.xz
|
||||
PKGINFO := $(PKGDIR)/.PKGINFO
|
||||
DESTDIR := distro/archlinux/this/$(PKGDIR)
|
||||
DESTDIR := distro/archlinux/this
|
||||
CFLAGS :=
|
||||
|
||||
LIBC_DEPEND := glibc
|
||||
|
||||
ifneq (, $(findstring i686, $(CARCH)))
|
||||
CFLAGS += -m32
|
||||
|
@ -21,7 +22,7 @@ endif
|
|||
base:
|
||||
$(MAKE) -C $(BASEDIR) clean
|
||||
CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \
|
||||
$(MAKE) -C $(BASEDIR) "DESTDIR=$(DESTDIR)" "PREFIX=$(PREFIX)" install
|
||||
$(MAKE) -C $(BASEDIR) "DESTDIR=$(DESTDIR)/$(PKGDIR)" "PREFIX=$(PREFIX)" install
|
||||
@echo "pkgname = gmqcc" > $(PKGINFO)
|
||||
@echo "pkgver = $(MAJOR).$(MINOR).$(PATCH)-$(PKGREL)" >> $(PKGINFO)
|
||||
@echo "pkgdesc = An Improved Quake C Compiler" >> $(PKGINFO)
|
||||
|
@ -32,7 +33,7 @@ base:
|
|||
@echo "arch = $(CARCH)" >> $(PKGINFO)
|
||||
@echo "license = MIT" >> $(PKGINFO)
|
||||
@echo "conflict = gmqcc" >> $(PKGINFO)
|
||||
@echo "depend = glibc" >> $(PKGINFO)
|
||||
@echo "depend = $(LIBC_DEPEND)" >> $(PKGINFO)
|
||||
@echo "makepkgopt = strip" >> $(PKGINFO)
|
||||
@echo "makepkgopt = docs" >> $(PKGINFO)
|
||||
@echo "makepkgopt = libtool" >> $(PKGINFO)
|
||||
|
|
Loading…
Reference in a new issue