ne: unbreak cross installation.
This commit is contained in:
parent
506afcfad9
commit
613dc6138d
10
srcpkgs/ne/patches/install.patch
Normal file
10
srcpkgs/ne/patches/install.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- makefile.orig 2015-06-20 10:33:26.556114192 +0200
|
||||
+++ makefile 2015-06-20 10:33:30.812160676 +0200
|
||||
@@ -44,7 +44,6 @@ cygwin:
|
||||
tar zcvf ne-cygwin-$(VERSION)-$(shell uname -m).tar.gz /usr/share/ne /usr/bin/ne.exe /usr/share/doc/ne /usr/share/info/ne.info.gz /usr/share/man/man1/ne.1
|
||||
|
||||
install:
|
||||
- ( cd src; make clean; make NE_GLOBAL_DIR=$(PREFIX)/share/ne )
|
||||
mkdir -p $(DESTDIR)$(PREFIX)/bin
|
||||
mkdir -p $(DESTDIR)$(PREFIX)/share/ne/syntax
|
||||
mkdir -p $(DESTDIR)$(PREFIX)/share/ne/macros
|
@ -11,7 +11,7 @@ distfiles="http://ne.di.unimi.it/ne-${version}.tar.gz"
|
||||
checksum=bb6ff66abad6ce7017ca0a511f11718464c6bbf72ee8dbbcbd1f5d15838c4a82
|
||||
|
||||
do_build() {
|
||||
make OPTS="$CFLAGS -std=c99" CC=$CC ${makejobs}
|
||||
make CFLAGS="$CFLAGS -std=c99 -D_GNU_SOURCE" CC=$CC ${makejobs}
|
||||
}
|
||||
do_install() {
|
||||
make PREFIX=/usr DESTDIR=${DESTDIR} install
|
||||
|
Loading…
x
Reference in New Issue
Block a user