mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
Replace /usr/X11R6 with /usr/local in the Makefile rules
Noticed by: pavrun on amd64/7.0
This commit is contained in:
parent
a21cb4cabb
commit
f862f9ebb5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=213907
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= fmsx
|
||||
PORTVERSION= 3.5.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= emulators
|
||||
MASTER_SITES= ahttp://www.mavetju.org/download/adopted/:code \
|
||||
http://fms.komkon.org/fMSX/:code \
|
||||
@ -24,7 +25,7 @@ COMMENT= The Portable MSX/MSX2/MSX2+ Emulator
|
||||
USE_XORG= xi x11
|
||||
USE_ZIP= yes
|
||||
USE_GMAKE= yes
|
||||
USE_DOS2UNIX= EMULib/NetUnix.c
|
||||
USE_DOS2UNIX= EMULib/NetUnix.c EMULib/Rules.Unix
|
||||
RESTRICTED= Legal status of distributed ROM images unclear
|
||||
WRKSRC= ${WRKDIR}
|
||||
|
||||
@ -37,7 +38,8 @@ OPTIONS= BPP8 "With BPP8" Off \
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' \
|
||||
${WRKSRC}/fMSX/Unix/Makefile
|
||||
${WRKSRC}/fMSX/Unix/Makefile \
|
||||
${WRKSRC}/EMULib/Rules.Unix
|
||||
|
||||
#post-patch:
|
||||
.ifdef(WITH_BPP32) || defined(PACKAGE_BUILDING) || defined(BATCH)
|
||||
|
9
emulators/fmsx/files/patch-EMULib_Rules.Unix
Normal file
9
emulators/fmsx/files/patch-EMULib_Rules.Unix
Normal file
@ -0,0 +1,9 @@
|
||||
--- EMULib/Rules.Unix.orig 2008-05-30 01:51:56.000000000 +0000
|
||||
+++ EMULib/Rules.Unix 2008-05-30 01:52:07.000000000 +0000
|
||||
@@ -1,5 +1,5 @@
|
||||
include ../../EMULib/Rules.gcc
|
||||
|
||||
-CFLAGS += -I/usr/X11R6/include
|
||||
+CFLAGS += -I%%LOCALBASE%%/include
|
||||
DEFINES+= -DUNIX -DMITSHM
|
||||
LIBS += -lX11 -lXext
|
Loading…
Reference in New Issue
Block a user