mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
SUpport X11BASE properly
PR: 21971 Submitted by: Ports Fury
This commit is contained in:
parent
cc71f9a6ee
commit
b66c21f4af
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33831
@ -15,7 +15,8 @@ MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
USE_X_PREFIX= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CFLAGS+= -I${PREFIX}/include
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
|
||||
LIBS="-L${X11BASE}/lib"
|
||||
MANN= xbl.n
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -29,7 +29,7 @@
|
||||
# The default value if overrided by configure if xmkmf or imake exists.
|
||||
#
|
||||
-SCOREDIR=/usr/local/lib/xbl
|
||||
+SCOREDIR=$(PREFIX)/lib/xbl
|
||||
+SCOREDIR=$(PREFIX)/lib/X11/xbl
|
||||
@SCOREDIR@
|
||||
|
||||
# Directory where put man pages.
|
||||
@ -54,7 +54,7 @@
|
||||
-DXBLVERSION=\"$(XBLVERSION)\" \
|
||||
-DGROUP_GID=$(GROUP_GID) \
|
||||
- $(USE_SETGID) @DEFS@ -g
|
||||
+ $(USE_SETGID) @DEFS@ @CFLAGS@
|
||||
+ $(USE_SETGID) @DEFS@ @CPPFLAGS@ @CFLAGS@
|
||||
# For link edit options
|
||||
LDOPTIONS=$(CFLAGS)
|
||||
LDOPTIONS=@LDOPTIONS@
|
||||
|
Loading…
Reference in New Issue
Block a user