mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Fix even more issues with the upstream Makefile:
- Respect CFLAGS - Respect CC - Don't hardcode /usr/local Notified by: olli hauer <ohauer@gmx.de>
This commit is contained in:
parent
2b27f25fb1
commit
c55056e2c6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345797
@ -15,7 +15,7 @@ LICENSE_NAME= CHUCKY BSD LICENSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
LICENSE_PERMS= ${_LICENSE_PERMS_DEFAULT}
|
||||
|
||||
LIB_DEPENDS= pkg:${PORTSDIR}/ports-mgmt/pkg \
|
||||
LIB_DEPENDS= libpkg.so:${PORTSDIR}/ports-mgmt/pkg \
|
||||
libsqlite3.so:${PORTSDIR}/databases/sqlite3
|
||||
|
||||
USE_GITHUB= yes
|
||||
@ -24,8 +24,6 @@ GH_PROJECT= chucky
|
||||
GH_TAGNAME= 075defe
|
||||
GH_COMMIT= ${GH_TAGNAME}
|
||||
|
||||
WRKSRC= ${WRKDIR}/waitman-chucky-075defe
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= MAN7PREFIX="${MAN7PREFIX}"
|
||||
PORTDOCS= *
|
||||
|
@ -1,5 +1,19 @@
|
||||
--- ./Makefile.orig 2013-03-22 05:11:27.000000000 +0100
|
||||
+++ ./Makefile 2014-02-24 09:55:51.627688711 +0100
|
||||
+++ ./Makefile 2014-02-24 11:23:24.503330584 +0100
|
||||
@@ -1,8 +1,8 @@
|
||||
-prefix=/usr/local
|
||||
-man7dir=/usr/local/man/man7
|
||||
-CC=clang
|
||||
-CFLAGS=-I/usr/local/include
|
||||
-LDFLAGS=-L/usr/local/lib -lsqlite3
|
||||
+prefix=${PREFIX}
|
||||
+man7dir=${MANPREFIX}/man/man7
|
||||
+CC?=clang
|
||||
+CFLAGS+=-I${LOCALBASE}/include
|
||||
+LDFLAGS+=-L${LOCALBASE}/lib -lsqlite3
|
||||
|
||||
all: chucky
|
||||
|
||||
@@ -12,8 +12,9 @@
|
||||
rm chucky
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user