ports

morpheus ports
git clone git://git.2f30.org/ports
Log | Files | Refs | LICENSE

commit d4c1ddedb3f9f4bea15210bbfd03663d49110320
parent 2caf722e3f7b7e063ffb2776de50a6702692d50e
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri,  6 Jun 2014 18:59:37 +0200

fix mpop, msmtp, tmux style

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

Diffstat:
Mmpop/mpop.mk | 7++++++-
Mmsmtp/msmtp.mk | 7++++++-
Mtmux/tmux.mk | 8+++++---
3 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/mpop/mpop.mk b/mpop/mpop.mk @@ -7,9 +7,14 @@ INSTALL_BIN = src/mpop INSTALL_MAN1 = `{ ls doc/*.1 } LOCAL_CFLAGS = \ - -I. -include `{pwd}/../config.h -I${openssl_includedir} + -I. -include config.h -I${openssl_includedir} LOCAL_LDFLAGS = -L. -L${openssl_libdir} -lssl -lcrypto -lz DEPS = openssl zlib <$mkbuild/mk.default + +$OBJ: config.h + +config.h:QV: + cp ../config.h config.h diff --git a/msmtp/msmtp.mk b/msmtp/msmtp.mk @@ -7,9 +7,14 @@ INSTALL_BIN = src/msmtp INSTALL_MAN1 = `{ ls doc/*.1 } LOCAL_CFLAGS = \ - -I. -include `{pwd}/../config.h -I${openssl_includedir} + -I. -I../ -include `{pwd}/../config.h -I${openssl_includedir} LOCAL_LDFLAGS = -L. -L${openssl_libdir} -lssl -lcrypto -lz DEPS = openssl zlib <$mkbuild/mk.default + +$OBJ: config.h + +config.h: + cp ../config.h config.h diff --git a/tmux/tmux.mk b/tmux/tmux.mk @@ -8,7 +8,9 @@ INSTALL_MAN1 = tmux.1 tmux:QV: export CFLAGS="$CFLAGS $DEPS_CFLAGS" export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" - CC="$CC" ./configure --prefix="$PREFIX" --mandir="$ROOT/share/man" \ - --disable-shared \ - --enable-static + CC="$CC" ./configure \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" \ + --disable-shared \ + --enable-static make -j$nprocs