diff options
author | Oliver Braun <obraun@FreeBSD.org> | 2004-02-25 11:25:52 +0000 |
---|---|---|
committer | Oliver Braun <obraun@FreeBSD.org> | 2004-02-25 11:25:52 +0000 |
commit | 6a77cdb2f4b2c3fdce36a1dc49a461d2d4007426 (patch) | |
tree | 5de4482c469e7d059586b1646959a6187108b825 /lang/hugs | |
parent | 54dea4c2eb9612b5749fd2616a4f69adeea1d906 (diff) |
Notes
Diffstat (limited to 'lang/hugs')
-rw-r--r-- | lang/hugs/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/hugs/Makefile b/lang/hugs/Makefile index 2476d09e1c0e..5896bdd92410 100644 --- a/lang/hugs/Makefile +++ b/lang/hugs/Makefile @@ -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: |