1
0
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:
Ade Lovett 2000-10-14 19:46:21 +00:00
parent cc71f9a6ee
commit b66c21f4af
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33831
2 changed files with 4 additions and 3 deletions

View File

@ -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>

View File

@ -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@