aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2017-12-25 00:30:40 +0800
committertijl <tijl@FreeBSD.org>2017-12-25 00:30:40 +0800
commit1c747c7b1b341b467103438bcc1ecd12360bf0da (patch)
treefdce483308b16665d7f100c7d54685dfd8d0453a /archivers
parent111443c6ee197c04a1c24538f2831c43447897a4 (diff)
downloadfreebsd-ports-gnome-1c747c7b1b341b467103438bcc1ecd12360bf0da.tar.gz
freebsd-ports-gnome-1c747c7b1b341b467103438bcc1ecd12360bf0da.tar.zst
freebsd-ports-gnome-1c747c7b1b341b467103438bcc1ecd12360bf0da.zip
Convert to USES=autoreconf and remove unneeded -fPIC.
Diffstat (limited to 'archivers')
-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: