summaryrefslogtreecommitdiff
path: root/lang/qscheme/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/qscheme/Makefile')
-rw-r--r--lang/qscheme/Makefile27
1 files changed, 7 insertions, 20 deletions
diff --git a/lang/qscheme/Makefile b/lang/qscheme/Makefile
index 006531685d0d..9db92ca40dbc 100644
--- a/lang/qscheme/Makefile
+++ b/lang/qscheme/Makefile
@@ -3,7 +3,7 @@
PORTNAME= qscheme
PORTVERSION= 0.5.1
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= lang scheme
MASTER_SITES= http://www.sof.ch/dan/qscheme/files/
@@ -12,34 +12,21 @@ COMMENT= Small and fast Scheme interpreter
LICENSE= GPLv2
-BUILD_DEPENDS= ${LOCALBASE}/lib/libavcall.a:devel/ffcall \
- ${LOCALBASE}/lib/libpcre.a:devel/pcre \
- ${LOCALBASE}/lib/libgmp.a:math/gmp
-LIB_DEPENDS= libgetline.so:devel/libgetline
+LIB_DEPENDS= libavcall.so:devel/ffcall \
+ libgmp.so:math/gmp \
+ libpcre.so:devel/pcre
-USES= gmake perl5 shebangfix
+USES= gmake localbase perl5 shebangfix
USE_PERL5= build
SHEBANG_FILES= mkoptable
-USE_GCC= any
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-pcre-dir=${LOCALBASE}/lib \
- --with-pcre-inc=${LOCALBASE}/include \
- --with-avcall-dir=${LOCALBASE}/lib \
- --with-avcall-inc=${LOCALBASE}/include \
- --with-gmp-dir=${LOCALBASE}/lib \
- --with-gmp-inc=${LOCALBASE}/include
-CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib -lgetline
+CFLAGS+= -fPIC
+MAKE_ARGS= PCRE_LIB="-L${LOCALBASE}/lib -lpcre"
PLIST_SUB= VERSION="${PORTVERSION}"
PORTDOCS= *
-# because it uses static pcre lib, which is compiled without -fPIC.
-# pcre problem likely.
-BROKEN_amd64= Does not build on ${ARCH}
-BROKEN_sparc64= Does not build on ${ARCH}
-
OPTIONS_DEFINE= DOCS
post-patch: