aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--archivers/arj/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/archivers/arj/Makefile b/archivers/arj/Makefile
index 7062001b6bd2..c2a60ad9c9e4 100644
--- a/archivers/arj/Makefile
+++ b/archivers/arj/Makefile
@@ -29,16 +29,15 @@ PATCH_STRIP= -p1
PORTSCOUT= skipv:3.10g
-USES= alias gmake
-USE_AUTOTOOLS= autoconf
+GNU_CONFIGURE= yes
+USES= alias autoreconf gmake
+AUTORECONF_WRKSRC= ${WRKSRC}/gnu
CONFIGURE_WRKSRC= ${WRKSRC}/gnu
MAKEFILE= GNUmakefile
ALL_TARGET= prepare all
STRIP= # empty
LLD_UNSAFE= yes
-CFLAGS+= -fPIC
-
PORTDOCS= *
OPTIONS_DEFINE= DOCS
@@ -59,7 +58,8 @@ pre-patch:
post-patch:
@${REINPLACE_CMD} -e 's!/etc!${LOCALBASE}/etc!' \
${WRKSRC}/arj.c ${WRKSRC}/file_reg.c ${WRKSRC}/rearj.c
- @${REINPLACE_CMD} -e 's!-O2!!' ${WRKSRC}/gnu/configure.in
+ @${REINPLACE_CMD} -e 's!-O2!!' -e 's!ALIGN_POINTERS!&,1,desc!' \
+ -e 's!USE_COLORS!&,1,desc!' ${WRKSRC}/gnu/configure.in
@${REINPLACE_CMD} -e 's!^static !!' ${WRKSRC}/integr.c
post-install: