1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Fix build on -current (Build/link C++ code with ${CXX})

This commit is contained in:
Kris Kennaway 2002-09-08 20:59:22 +00:00
parent 4c24de8962
commit 7321980334
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65854
2 changed files with 9 additions and 16 deletions

View File

@ -1,11 +1,12 @@
--- Imakefile.orig Tue Jul 25 16:14:56 1995
+++ Imakefile Sat Aug 19 22:00:04 1995
@@ -21,7 +21,7 @@
CURSES = -lcurses -ltermcap
--- Imakefile.orig Sun Sep 8 13:55:25 2002
+++ Imakefile Sun Sep 8 13:55:59 2002
@@ -23,7 +23,8 @@
/* most X11 screens are rather large, you might wisht to use "double" mode */
-/* CXXEXTRA_DEFINES = -DDOUBLE */
+CXXEXTRA_DEFINES = -DDOUBLE
CXXEXTRA_DEFINES = -DDOUBLE
NormalProgramTarget(pacman,$(OBJS),$(DEPXLIB),$(CURSES),$(XLIB))
-NormalProgramTarget(pacman,$(OBJS),$(DEPXLIB),$(CURSES),$(XLIB))
+NormalCplusplusProgramTarget(pacman,$(OBJS),$(DEPXLIB),$(CURSES),$(XLIB))
InstallProgram(pacman,$(BINDIR))
InstallManPage(pacman,$(MANDIR))
+AllTarget(pacman)
DependTarget()

View File

@ -1,8 +0,0 @@
--- Imakefile.orig Sat Aug 19 22:00:04 1995
+++ Imakefile Sat Aug 19 22:00:55 1995
@@ -26,4 +26,5 @@
NormalProgramTarget(pacman,$(OBJS),$(DEPXLIB),$(CURSES),$(XLIB))
InstallProgram(pacman,$(BINDIR))
InstallManPage(pacman,$(MANDIR))
+AllTarget(pacman)
DependTarget()