svn commit: r384293 - in head/lang/pure: . files
Tijl Coosemans
tijl at FreeBSD.org
Sun Apr 19 15:09:42 UTC 2015
Author: tijl
Date: Sun Apr 19 15:09:40 2015
New Revision: 384293
URL: https://svnweb.freebsd.org/changeset/ports/384293
Log:
Patch configure to fix the output of "pkg-config pure --variable PIC"
Added:
head/lang/pure/files/patch-configure (contents, props changed)
Modified:
head/lang/pure/Makefile
Modified: head/lang/pure/Makefile
==============================================================================
--- head/lang/pure/Makefile Sun Apr 19 15:03:57 2015 (r384292)
+++ head/lang/pure/Makefile Sun Apr 19 15:09:40 2015 (r384293)
@@ -3,7 +3,7 @@
PORTNAME= pure
PORTVERSION= 0.64
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= lang
MASTER_SITES= https://bitbucket.org/purelang/pure-lang/downloads/
EXTRACT_ONLY= ${DISTNAME}.tar.gz
@@ -30,13 +30,6 @@ CONFIGURE_ARGS= --with-libgmp-prefix=${L
EXTRACT_AFTER_ARGS=--no-same-owner --no-same-permissions --exclude texmacs
USE_LDCONFIG= yes
-MAKE_ARGS+= prefix=${PREFIX} mandir=${PREFIX}/man \
- CC=${CC} CFLAGS="${CFLAGS}" \
- PIC="-fPIC -DPIC" \
- CXX=${CXX} CXXFLAGS="${CXXFLAGS}" \
- CPPFLAGS+=-I${LOCALBASE}/include \
- LDFLAGS+=-L${LOCALBASE}/lib
-
PORTDOCS= *
PORTEXAMPLES= *
Added: head/lang/pure/files/patch-configure
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/pure/files/patch-configure Sun Apr 19 15:09:40 2015 (r384293)
@@ -0,0 +1,11 @@
+--- configure.orig 2014-10-28 20:55:49 UTC
++++ configure
+@@ -7280,6 +7280,8 @@ LLVM_LDFLAGS=$($LLVMCONF --ldflags)
+ # FIXME: this should be set based on a check
+ PIC=
+ case $host in
++*-*-dragonfly* | *-*-freebsd*)
++ PIC=-fPIC ;;
+ *x86_64-*)
+ case $host in
+ *-darwin*) ;;
More information about the svn-ports-all
mailing list