1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

- Fix build on 4.X

- Respect CC and CFLAGS

PR:		ports/101750
Submitted by:	Babak Farrokhi <babak@farrokhi.net> (maintainer)
This commit is contained in:
Pav Lucistnik 2006-08-12 21:26:07 +00:00
parent a5554b098b
commit 1c8766718f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=170439
2 changed files with 12 additions and 0 deletions

View File

@ -23,7 +23,9 @@ LIB_DEPENDS+= oop:${PORTSDIR}/devel/liboop
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GCC= 3.4+
INSTALL_TARGET= install
CONFIGURE_ENV= PREFIX="${PREFIX}" CC="${CC}" CFLAGS="${CFLAGS}"
CONFIGURE_ARGS+= --with-include-path=${LOCALBASE}/include
CONFIGURE_ARGS+= --with-lib-path=${LOCALBASE}/lib
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"

View File

@ -0,0 +1,10 @@
--- src/nettle/examples/nettle-openssl.c.orig Thu Aug 10 13:24:43 2006
+++ src/nettle/examples/nettle-openssl.c Thu Aug 10 13:24:53 2006
@@ -36,6 +36,7 @@
#define OPENSSL_DISABLE_OLD_DES_SUPPORT
#include <assert.h>
+#include <stddef.h>
#include <openssl/aes.h>
#include <openssl/blowfish.h>