1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

* Respect CC and CFLAGS.

* Fix for amd64
This commit is contained in:
Oliver Braun 2004-02-25 11:25:52 +00:00
parent 54dea4c2eb
commit 6a77cdb2f4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=102079

View File

@ -22,17 +22,22 @@ USE_SIZE= yes
USE_REINPLACE= yes
USE_BISON= yes
CONFIGURE_ARGS+= --prefix=${PREFIX} --enable-ffi
CONFIGURE_ENV+= CC="${CC}" CFLAGS="${CFLAGS}"
ALL_TARGET= default ffihugs
MAN1= hugs.1 hugs-package.1
.if ${MACHINE_ARCH:L} == "amd64"
CFLAGS+= "-fPIC"
.endif
post-patch:
@${REINPLACE_CMD} -e '/^install :: install_notes/d ; \
/^install :: install_guide/d' \
${WRKSRC}/MkInstal.in
do-configure:
@(cd ${WRKSRC}/unix && ./configure ${CONFIGURE_ARGS})
@(cd ${WRKSRC}/unix && ${CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS})
.if !defined(NOPORTDOCS)
post-install: