diff options
| author | Tijl Coosemans <tijl@FreeBSD.org> | 2014-06-11 14:49:59 +0000 |
|---|---|---|
| committer | Tijl Coosemans <tijl@FreeBSD.org> | 2014-06-11 14:49:59 +0000 |
| commit | 9f8b4bcde30c0ca3bf6cead5f48aa102536e0e92 (patch) | |
| tree | c4f78cbaf45ab044db3e157be708afd711a4e841 /lang/ruby21/Makefile | |
| parent | 0533abe3e7aae5c19e0a0ce9c1e82ed5e94f63e8 (diff) | |
Notes
Diffstat (limited to 'lang/ruby21/Makefile')
| -rw-r--r-- | lang/ruby21/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lang/ruby21/Makefile b/lang/ruby21/Makefile index 6ca089a7db7a..cb2fd8827ff4 100644 --- a/lang/ruby21/Makefile +++ b/lang/ruby21/Makefile @@ -70,8 +70,9 @@ _SUF2= ,${PORTEPOCH} _SUF1= _${PORTREVISION} .endif -CFLAGS+= ${PTHREAD_CFLAGS} # Keep this, else ruby will fail to load -LDFLAGS+= ${PTHREAD_LIBS} # libraries dependent op libpthread. +CPPFLAGS+= -I${LOCALBASE}/include +# Keep this, else ruby will fail to load libraries dependent op libpthread. +LIBS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} # # Disable doc generation if requested or docs disabled at all @@ -86,9 +87,7 @@ CONFIGURE_ARGS+= --disable-install-doc CONFIGURE_ARGS+= --disable-dtrace .endif -CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \ - LIBS="-L${LOCALBASE}/lib ${LDFLAGS}" \ - debugflags= +CONFIGURE_ENV= debugflags= .if ${PORT_OPTIONS:MLIBEDIT} BUILD_DEPENDS+= libedit>=0:${PORTSDIR}/devel/libedit |
