aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2017-09-22 18:48:57 +0800
committermat <mat@FreeBSD.org>2017-09-22 18:48:57 +0800
commitf7ea694d40fb25ebb08976089f0d25ef8068e94e (patch)
treec94257e28b8e5f01fe14d767f8a4ade36ad9d111 /games
parent6f0cd74a7e03c52a2dddfb99666ec0c3814fd7bb (diff)
downloadfreebsd-ports-gnome-f7ea694d40fb25ebb08976089f0d25ef8068e94e.tar.gz
freebsd-ports-gnome-f7ea694d40fb25ebb08976089f0d25ef8068e94e.tar.zst
freebsd-ports-gnome-f7ea694d40fb25ebb08976089f0d25ef8068e94e.zip
Cleanup after removal of libexecinfo from ports.
PR: 220271 Submitted by: mat (review), Yasuhiro KIMURA (PR) Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D11488
Diffstat (limited to 'games')
-rw-r--r--games/adgali/Makefile3
-rw-r--r--games/spring/Makefile8
-rw-r--r--games/super_methane_brothers/Makefile3
-rw-r--r--games/ufoai/Makefile4
4 files changed, 4 insertions, 14 deletions
diff --git a/games/adgali/Makefile b/games/adgali/Makefile
index 81801a798763..7ab60847d7f5 100644
--- a/games/adgali/Makefile
+++ b/games/adgali/Makefile
@@ -25,8 +25,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-compile-optim=no
INSTALL_TARGET= install-strip
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib -lexecinfo
+LDFLAGS+= -lexecinfo
OPTIONS_DEFINE= DOCS
diff --git a/games/spring/Makefile b/games/spring/Makefile
index 09db4c439c32..9a3f3a62f39a 100644
--- a/games/spring/Makefile
+++ b/games/spring/Makefile
@@ -44,12 +44,6 @@ CMAKE_ARGS= -DDATADIR:STRING="share/${PORTNAME}" \
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
-.if exists(/usr/lib/libexecinfo.so)
-LEI_PREFIX= /usr
-.else
-LEI_PREFIX= ${LOCALBASE}
-.endif
-
# Do not exctract bundled copies of header files for 3rd-party packages:
EXTRACT_AFTER_ARGS=--no-same-owner --no-same-permissions --exclude ${WRKSRC:T}/include
@@ -101,7 +95,7 @@ post-patch:
${WRKSRC}/rts/System/Sync/FPUCheck.cpp
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
${WRKSRC}/rts/build/cmake/*.cmake
- @${REINPLACE_CMD} -e 's|execinfo|${LEI_PREFIX}/lib/libexecinfo.so|' \
+ @${REINPLACE_CMD} -e 's|execinfo|/usr/lib/libexecinfo.so|' \
${WRKSRC}/rts/CMakeLists.txt \
${WRKSRC}/rts/builds/dedicated/CMakeLists.txt
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
diff --git a/games/super_methane_brothers/Makefile b/games/super_methane_brothers/Makefile
index 1bf096d44267..5f09d6b49597 100644
--- a/games/super_methane_brothers/Makefile
+++ b/games/super_methane_brothers/Makefile
@@ -19,8 +19,7 @@ USES= gmake pkgconfig tar:tgz
MAKE_ENV= METHANE_FLAGS="${CPPFLAGS}" METHANE_LIBS="${LIBS}"
MAKE_JOBS_UNSAFE= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LIBS+= -L${LOCALBASE}/lib -lexecinfo
+LIBS+= -lexecinfo
DATADIR= ${PREFIX}/share/methane
diff --git a/games/ufoai/Makefile b/games/ufoai/Makefile
index 9d82c92e44d4..c47b4067b6b5 100644
--- a/games/ufoai/Makefile
+++ b/games/ufoai/Makefile
@@ -29,9 +29,7 @@ USES= compiler:c++11-lang gettext gmake jpeg openal:soft pkgconfig \
python:build tar:bzip2
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-release --target-os=freebsd
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -lpthread -L${LOCALBASE}/lib -lexecinfo
-CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -lpthread -lexecinfo
DATADIR= share/${PORTNAME}
SUB_FILES= pkg-message