diff options
Diffstat (limited to 'archivers/ha/Makefile')
-rw-r--r-- | archivers/ha/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/archivers/ha/Makefile b/archivers/ha/Makefile index f0dc61efba1e..70c428984c6e 100644 --- a/archivers/ha/Makefile +++ b/archivers/ha/Makefile @@ -22,12 +22,16 @@ MAKEFILE= makefile.nix ALL_TARGET= ha USE_GMAKE= yes -pre-patch: - @${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \ +post-patch: + @${REINPLACE_CMD} 's,<malloc.h>,<stdlib.h>,' \ ${WRKSRC}/c/hsc.c ${WRKSRC}/c/cpy.c \ ${WRKSRC}/c/asc.c + @${REINPLACE_CMD} -e 's|CC =|CC ?=|' \ + -e 's|LDFLAGS = -O2||' \ + -e 's|CFLAGS = -Wall -O2|CFLAGS += -Wall|' \ + ${WRKSRC}/makefile.nix do-install: - cd ${WRKSRC}; ${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ha ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/ha ${TARGETDIR}/bin .include <bsd.port.mk> |