pax: -DLONG_OFF_T added (Makefile does it, too)

This commit is contained in:
Denis Knauf 2012-09-27 16:02:39 +02:00
parent c11408e629
commit 9993a11cae

View file

@ -7,12 +7,15 @@ SUMMARY="Portable Archive Interchange"
LICENCES="( BSD-3 MIT )"
SLOT="0"
PLATFORMS="~amd64"
PLATFORMS="~amd64 ~x86"
DEPENDENCIES=""
src_compile() {
edo gcc ${CFLAGS} ${LDFLAGS} -o pax *.c
# Makefile says:
# # -DLONG_OFF_T The base type of off_t is a long, not a long long.
# # This is often defined in: /usr/include/sys/types.h
edo gcc -DLONG_OFF_T ${CFLAGS} ${LDFLAGS} -o pax *.c
}
src_install() {