Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix build on OS X
Tobias Kortkamp committed 10 years ago
commit 4b0f66eff25b2edb6a74fcc9ab5ca874f6075d09
parent 7ff2757
2 files changed +5 -1
modified scripts/travis_build.sh
@@ -37,7 +37,9 @@ set -x
set -e

if [ $(uname -s) = "Darwin" ]; then
-
  ./configure
+
  CFLAGS="-I/usr/local/opt/libarchive/include" \
+
    LDFLAGS="-L/usr/local/opt/libarchive/lib" \
+
    ./configure
elif [ $(uname -s) = "Linux" ]; then
  CFLAGS="-Wno-strict-aliasing -Wno-unused-result -Wno-unused-value" ./configure
fi
modified src/Makefile.am
@@ -1,6 +1,8 @@
noinst_HEADERS=	pkgcli.h

+
if HAVE_ELF_ABI
LDFLAGS+=	-Wl,--enable-new-dtags
+
endif

pkg_SOURCES=		add.c \
			alias.c \