mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
Fix X11BASE!=/usr/X11R6 case.
Fix an apparently harmless typo in CXXFLAGS substitution.
This commit is contained in:
parent
55b20f3ee8
commit
1e333c4b7c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=178838
@ -148,8 +148,11 @@ post-patch:
|
||||
-e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
|
||||
${WRKSRC}/dist/util/arch_variables \
|
||||
${WRKSRC}/dist/pvm/src/aimk
|
||||
@${REINPLACE_CMD} -e "s|%%CC%%|${CC}|g" -e "s|%%CXX%%|${CXX}|g" \
|
||||
-e "s|%%CFLAGS%%|${CFLAGS}|g" -e "s|%CXXFLAGS%%|${CXXFLAGS}|g" \
|
||||
@${REINPLACE_CMD} -e "s|%%CC%%|${CC}|g" \
|
||||
-e "s|%%CXX%%|${CXX}|g" \
|
||||
-e "s|%%CFLAGS%%|${CFLAGS}|g" \
|
||||
-e "s|%%CXXFLAGS%%|${CXXFLAGS}|g" \
|
||||
-e "s|%%X11BASE%%|${X11BASE}|g" \
|
||||
${WRKSRC}/aimk \
|
||||
${WRKSRC}/dist/pvm/src/aimk
|
||||
@${REINPLACE_CMD} -e 's|^CC = gcc|CC = ${CC}|' \
|
||||
|
@ -1,8 +1,8 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- aimk.orig
|
||||
+++ aimk
|
||||
--- aimk.orig Tue Oct 25 17:48:15 2005
|
||||
+++ aimk Mon Dec 4 15:57:37 2006
|
||||
@@ -397,7 +397,7 @@
|
||||
if ( $?SGE_INPUT_CFLAGS ) then
|
||||
set INP_CFLAGS = "$SGE_INPUT_CFLAGS"
|
||||
@ -12,7 +12,7 @@ $FreeBSD$
|
||||
endif
|
||||
|
||||
# Default build targets for which we have seperate make files
|
||||
@@ -1171,8 +1171,8 @@
|
||||
@@ -1180,12 +1180,12 @@
|
||||
set MAKE = gmake
|
||||
set OFLAG = "-O"
|
||||
set ARFLAGS = rcv
|
||||
@ -23,7 +23,17 @@ $FreeBSD$
|
||||
set DLLIB = ""
|
||||
set DEPEND_FLAGS = "$CFLAGS $XMTINCD"
|
||||
set PTHRDSFLAGS = "-D_REENTRANT -D__USE_REENTRANT"
|
||||
@@ -1191,7 +1191,7 @@
|
||||
- set CFLAGS = "$OFLAG -Wall -DFREEBSD -D$BUILDARCH -DGETHOSTBYNAME_M -DGETHOSTBYADDR_M $DEBUG_FLAG $CFLAGS -I/usr/X11R6/include"
|
||||
+ set CFLAGS = "$OFLAG -Wall -DFREEBSD -D$BUILDARCH -DGETHOSTBYNAME_M -DGETHOSTBYADDR_M $DEBUG_FLAG $CFLAGS -I%%X11BASE%%/include"
|
||||
set NOERR_CFLAG = "-Wno-error"
|
||||
set LFLAGS = "$DEBUG_FLAG $LFLAGS"
|
||||
set LIBS = "$LIBS -lkvm"
|
||||
@@ -1196,11 +1196,11 @@
|
||||
set XMTDEF = ""
|
||||
set XINCD = "$XMTINCD $XINCD -I/usr/X11/include"
|
||||
set XCFLAGS = "-Wno-strict-prototypes -Wno-error $XMTDEF $XINCD"
|
||||
- set XLIBD = "-L/usr/X11R6/lib"
|
||||
+ set XLIBD = "-L%%X11BASE%%/lib"
|
||||
set XLFLAGS = "$XLIBD"
|
||||
set XLIBS = " -Xlinker -lXm -Xlinker -Bdynamic -lXpm -lXt -lXext -lX11 -lSM -lICE -lXp"
|
||||
set RM = "rm -f"
|
||||
|
@ -148,8 +148,11 @@ post-patch:
|
||||
-e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
|
||||
${WRKSRC}/dist/util/arch_variables \
|
||||
${WRKSRC}/dist/pvm/src/aimk
|
||||
@${REINPLACE_CMD} -e "s|%%CC%%|${CC}|g" -e "s|%%CXX%%|${CXX}|g" \
|
||||
-e "s|%%CFLAGS%%|${CFLAGS}|g" -e "s|%CXXFLAGS%%|${CXXFLAGS}|g" \
|
||||
@${REINPLACE_CMD} -e "s|%%CC%%|${CC}|g" \
|
||||
-e "s|%%CXX%%|${CXX}|g" \
|
||||
-e "s|%%CFLAGS%%|${CFLAGS}|g" \
|
||||
-e "s|%%CXXFLAGS%%|${CXXFLAGS}|g" \
|
||||
-e "s|%%X11BASE%%|${X11BASE}|g" \
|
||||
${WRKSRC}/aimk \
|
||||
${WRKSRC}/dist/pvm/src/aimk
|
||||
@${REINPLACE_CMD} -e 's|^CC = gcc|CC = ${CC}|' \
|
||||
|
@ -1,8 +1,8 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- aimk.orig
|
||||
+++ aimk
|
||||
--- aimk.orig Tue Oct 25 17:48:15 2005
|
||||
+++ aimk Mon Dec 4 15:57:37 2006
|
||||
@@ -397,7 +397,7 @@
|
||||
if ( $?SGE_INPUT_CFLAGS ) then
|
||||
set INP_CFLAGS = "$SGE_INPUT_CFLAGS"
|
||||
@ -12,7 +12,7 @@ $FreeBSD$
|
||||
endif
|
||||
|
||||
# Default build targets for which we have seperate make files
|
||||
@@ -1171,8 +1171,8 @@
|
||||
@@ -1180,12 +1180,12 @@
|
||||
set MAKE = gmake
|
||||
set OFLAG = "-O"
|
||||
set ARFLAGS = rcv
|
||||
@ -23,7 +23,17 @@ $FreeBSD$
|
||||
set DLLIB = ""
|
||||
set DEPEND_FLAGS = "$CFLAGS $XMTINCD"
|
||||
set PTHRDSFLAGS = "-D_REENTRANT -D__USE_REENTRANT"
|
||||
@@ -1191,7 +1191,7 @@
|
||||
- set CFLAGS = "$OFLAG -Wall -DFREEBSD -D$BUILDARCH -DGETHOSTBYNAME_M -DGETHOSTBYADDR_M $DEBUG_FLAG $CFLAGS -I/usr/X11R6/include"
|
||||
+ set CFLAGS = "$OFLAG -Wall -DFREEBSD -D$BUILDARCH -DGETHOSTBYNAME_M -DGETHOSTBYADDR_M $DEBUG_FLAG $CFLAGS -I%%X11BASE%%/include"
|
||||
set NOERR_CFLAG = "-Wno-error"
|
||||
set LFLAGS = "$DEBUG_FLAG $LFLAGS"
|
||||
set LIBS = "$LIBS -lkvm"
|
||||
@@ -1196,11 +1196,11 @@
|
||||
set XMTDEF = ""
|
||||
set XINCD = "$XMTINCD $XINCD -I/usr/X11/include"
|
||||
set XCFLAGS = "-Wno-strict-prototypes -Wno-error $XMTDEF $XINCD"
|
||||
- set XLIBD = "-L/usr/X11R6/lib"
|
||||
+ set XLIBD = "-L%%X11BASE%%/lib"
|
||||
set XLFLAGS = "$XLIBD"
|
||||
set XLIBS = " -Xlinker -lXm -Xlinker -Bdynamic -lXpm -lXt -lXext -lX11 -lSM -lICE -lXp"
|
||||
set RM = "rm -f"
|
||||
|
@ -148,8 +148,11 @@ post-patch:
|
||||
-e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
|
||||
${WRKSRC}/dist/util/arch_variables \
|
||||
${WRKSRC}/dist/pvm/src/aimk
|
||||
@${REINPLACE_CMD} -e "s|%%CC%%|${CC}|g" -e "s|%%CXX%%|${CXX}|g" \
|
||||
-e "s|%%CFLAGS%%|${CFLAGS}|g" -e "s|%CXXFLAGS%%|${CXXFLAGS}|g" \
|
||||
@${REINPLACE_CMD} -e "s|%%CC%%|${CC}|g" \
|
||||
-e "s|%%CXX%%|${CXX}|g" \
|
||||
-e "s|%%CFLAGS%%|${CFLAGS}|g" \
|
||||
-e "s|%%CXXFLAGS%%|${CXXFLAGS}|g" \
|
||||
-e "s|%%X11BASE%%|${X11BASE}|g" \
|
||||
${WRKSRC}/aimk \
|
||||
${WRKSRC}/dist/pvm/src/aimk
|
||||
@${REINPLACE_CMD} -e 's|^CC = gcc|CC = ${CC}|' \
|
||||
|
@ -1,8 +1,8 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- aimk.orig
|
||||
+++ aimk
|
||||
--- aimk.orig Tue Oct 25 17:48:15 2005
|
||||
+++ aimk Mon Dec 4 15:57:37 2006
|
||||
@@ -397,7 +397,7 @@
|
||||
if ( $?SGE_INPUT_CFLAGS ) then
|
||||
set INP_CFLAGS = "$SGE_INPUT_CFLAGS"
|
||||
@ -12,7 +12,7 @@ $FreeBSD$
|
||||
endif
|
||||
|
||||
# Default build targets for which we have seperate make files
|
||||
@@ -1171,8 +1171,8 @@
|
||||
@@ -1180,12 +1180,12 @@
|
||||
set MAKE = gmake
|
||||
set OFLAG = "-O"
|
||||
set ARFLAGS = rcv
|
||||
@ -23,7 +23,17 @@ $FreeBSD$
|
||||
set DLLIB = ""
|
||||
set DEPEND_FLAGS = "$CFLAGS $XMTINCD"
|
||||
set PTHRDSFLAGS = "-D_REENTRANT -D__USE_REENTRANT"
|
||||
@@ -1191,7 +1191,7 @@
|
||||
- set CFLAGS = "$OFLAG -Wall -DFREEBSD -D$BUILDARCH -DGETHOSTBYNAME_M -DGETHOSTBYADDR_M $DEBUG_FLAG $CFLAGS -I/usr/X11R6/include"
|
||||
+ set CFLAGS = "$OFLAG -Wall -DFREEBSD -D$BUILDARCH -DGETHOSTBYNAME_M -DGETHOSTBYADDR_M $DEBUG_FLAG $CFLAGS -I%%X11BASE%%/include"
|
||||
set NOERR_CFLAG = "-Wno-error"
|
||||
set LFLAGS = "$DEBUG_FLAG $LFLAGS"
|
||||
set LIBS = "$LIBS -lkvm"
|
||||
@@ -1196,11 +1196,11 @@
|
||||
set XMTDEF = ""
|
||||
set XINCD = "$XMTINCD $XINCD -I/usr/X11/include"
|
||||
set XCFLAGS = "-Wno-strict-prototypes -Wno-error $XMTDEF $XINCD"
|
||||
- set XLIBD = "-L/usr/X11R6/lib"
|
||||
+ set XLIBD = "-L%%X11BASE%%/lib"
|
||||
set XLFLAGS = "$XLIBD"
|
||||
set XLIBS = " -Xlinker -lXm -Xlinker -Bdynamic -lXpm -lXt -lXext -lX11 -lSM -lICE -lXp"
|
||||
set RM = "rm -f"
|
||||
|
@ -148,8 +148,11 @@ post-patch:
|
||||
-e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
|
||||
${WRKSRC}/dist/util/arch_variables \
|
||||
${WRKSRC}/dist/pvm/src/aimk
|
||||
@${REINPLACE_CMD} -e "s|%%CC%%|${CC}|g" -e "s|%%CXX%%|${CXX}|g" \
|
||||
-e "s|%%CFLAGS%%|${CFLAGS}|g" -e "s|%CXXFLAGS%%|${CXXFLAGS}|g" \
|
||||
@${REINPLACE_CMD} -e "s|%%CC%%|${CC}|g" \
|
||||
-e "s|%%CXX%%|${CXX}|g" \
|
||||
-e "s|%%CFLAGS%%|${CFLAGS}|g" \
|
||||
-e "s|%%CXXFLAGS%%|${CXXFLAGS}|g" \
|
||||
-e "s|%%X11BASE%%|${X11BASE}|g" \
|
||||
${WRKSRC}/aimk \
|
||||
${WRKSRC}/dist/pvm/src/aimk
|
||||
@${REINPLACE_CMD} -e 's|^CC = gcc|CC = ${CC}|' \
|
||||
|
@ -1,8 +1,8 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- aimk.orig
|
||||
+++ aimk
|
||||
--- aimk.orig Tue Oct 25 17:48:15 2005
|
||||
+++ aimk Mon Dec 4 15:57:37 2006
|
||||
@@ -397,7 +397,7 @@
|
||||
if ( $?SGE_INPUT_CFLAGS ) then
|
||||
set INP_CFLAGS = "$SGE_INPUT_CFLAGS"
|
||||
@ -12,7 +12,7 @@ $FreeBSD$
|
||||
endif
|
||||
|
||||
# Default build targets for which we have seperate make files
|
||||
@@ -1171,8 +1171,8 @@
|
||||
@@ -1180,12 +1180,12 @@
|
||||
set MAKE = gmake
|
||||
set OFLAG = "-O"
|
||||
set ARFLAGS = rcv
|
||||
@ -23,7 +23,17 @@ $FreeBSD$
|
||||
set DLLIB = ""
|
||||
set DEPEND_FLAGS = "$CFLAGS $XMTINCD"
|
||||
set PTHRDSFLAGS = "-D_REENTRANT -D__USE_REENTRANT"
|
||||
@@ -1191,7 +1191,7 @@
|
||||
- set CFLAGS = "$OFLAG -Wall -DFREEBSD -D$BUILDARCH -DGETHOSTBYNAME_M -DGETHOSTBYADDR_M $DEBUG_FLAG $CFLAGS -I/usr/X11R6/include"
|
||||
+ set CFLAGS = "$OFLAG -Wall -DFREEBSD -D$BUILDARCH -DGETHOSTBYNAME_M -DGETHOSTBYADDR_M $DEBUG_FLAG $CFLAGS -I%%X11BASE%%/include"
|
||||
set NOERR_CFLAG = "-Wno-error"
|
||||
set LFLAGS = "$DEBUG_FLAG $LFLAGS"
|
||||
set LIBS = "$LIBS -lkvm"
|
||||
@@ -1196,11 +1196,11 @@
|
||||
set XMTDEF = ""
|
||||
set XINCD = "$XMTINCD $XINCD -I/usr/X11/include"
|
||||
set XCFLAGS = "-Wno-strict-prototypes -Wno-error $XMTDEF $XINCD"
|
||||
- set XLIBD = "-L/usr/X11R6/lib"
|
||||
+ set XLIBD = "-L%%X11BASE%%/lib"
|
||||
set XLFLAGS = "$XLIBD"
|
||||
set XLIBS = " -Xlinker -lXm -Xlinker -Bdynamic -lXpm -lXt -lXext -lX11 -lSM -lICE -lXp"
|
||||
set RM = "rm -f"
|
||||
|
Loading…
Reference in New Issue
Block a user