abcm2ps: cleanup
This commit is contained in:
parent
6a588f1c9f
commit
711d5b4370
|
@ -1,17 +0,0 @@
|
|||
--- Makefile.in.bck 2016-03-27 02:52:28.209509627 -0400
|
||||
+++ Makefile.in 2016-03-27 02:54:28.288878752 -0400
|
||||
@@ -17,10 +17,10 @@
|
||||
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
-bindir = @bindir@
|
||||
-libdir = @libdir@
|
||||
-datadir = @datarootdir@
|
||||
-docdir = @docdir@
|
||||
+bindir = $(DESTDIR)@bindir@
|
||||
+libdir = $(DESTDIR)@libdir@
|
||||
+datadir = $(DESTDIR)@datarootdir@
|
||||
+docdir = $(DESTDIR)@docdir@
|
||||
|
||||
# unix
|
||||
OBJECTS=abcm2ps.o \
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'abcm2ps'
|
||||
pkgname=abcm2ps
|
||||
version=8.12.9
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=configure
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="pango-devel"
|
||||
|
@ -13,11 +13,8 @@ distfiles="${homepage}/abcm2ps-${version}.tar.gz"
|
|||
checksum=72b8f40964234edf2043bdc83527c37989bbb5fb3b4c108c2ef3cd1883399af4
|
||||
|
||||
pre_configure() {
|
||||
sed -i configure \
|
||||
-e 's/CFLAGS=.*/CFLAGS=\"${CFLAGS}\"/' \
|
||||
-e 's:prefix=/usr/local:prefix=/usr:' \
|
||||
-e 's/CC=.*/CC=${CC}/'
|
||||
|
||||
sed -i Makefile.in \
|
||||
-e 's/ = $(DESTDIR)/ = /'
|
||||
echo CC=${CC} >> custom
|
||||
echo CFLAGS+=\" $CFLAGS\" >> custom
|
||||
echo prefix=/usr >> custom
|
||||
echo 'docdir=${prefix}/share/doc' >> custom
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue