From e21b286e6e6c342bb5a7d77a2b01ef3d340c3534 Mon Sep 17 00:00:00 2001 From: bapt Date: Sun, 20 Oct 2013 18:17:10 +0000 Subject: Enable stage, Replace patching by proper make usage --- textproc/libebml/Makefile | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) (limited to 'textproc/libebml') diff --git a/textproc/libebml/Makefile b/textproc/libebml/Makefile index b7b87077acea..56ec12773177 100644 --- a/textproc/libebml/Makefile +++ b/textproc/libebml/Makefile @@ -12,24 +12,18 @@ COMMENT= EBML (Extensible Binary Meta Language), sort of binary version of XML LICENSE= LGPL21 +USES= gmake USE_BZIP2= yes -USE_GMAKE= yes BUILD_WRKSRC= ${WRKSRC}/make/linux INSTALL_WRKSRC= ${WRKSRC}/make/linux USE_LDCONFIG= yes -# Installs dir with proper permissions -INSTALL_DATA_DIR= ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 - -NO_STAGE= yes -do-configure: - @${REINPLACE_CMD} -E \ - -e 's|^(prefix)[[:space:]]*=.*$$|\1=${PREFIX}|; \ - s,^(CXX|LD)[[:space:]]*=.*$$,\1=${CXX},; \ - s|^(CXXFLAGS)[[:space:]]*=(.*)$$|\1+=\2|; \ - s|^(INSTALL)[[:space:]]*=.*$$|\1=|; \ - s|^(INSTALL_DIR_OPTS)[[:space:]]*=.*$$|\1=${INSTALL_DATA_DIR}|; \ - s,^(INSTALL_OPTS_LIB|INSTALL_OPTS)[[:space:]]*=.*$$,\1=${INSTALL_DATA},' \ - ${WRKSRC}/make/linux/Makefile +MAKE_ARGS= INSTALL_DIR_OPTS="${INSTALL} -d -m 755" \ + INSTALL_OPTS="${INSTALL_DATA}" \ + INSTALL_OPTS_LIB="${INSTALL_LIB}" \ + INSTALL="" \ + prefix=${STAGEDIR}${PREFIX} \ + CXX="${CXX}" \ + CXXFLAGS="${CXXFLAGS}" .include -- cgit