Opened 8 years ago

Closed 22 months ago

#49901 closed submission (fixed)

elkhound @1215-12-03 - new port

Reported by: mbrethen Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: kurthindenburg (Kurt Hindenburg)
Port:

Description

Elkhound is a GLR parser generator.

Note: Make install did not exist so I had to figure out which files to install. I went by the log and kept the headers for the object files in each archive created.

Attachments (1)

Portfile (4.6 KB) - added by mbrethen 8 years ago.

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by mbrethen

Attachment: Portfile added

comment:1 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:2 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

If you have time, it would be use to https://trac.macports.org/wiki/UsingTheRightCompiler which might not be trival w/ their build method.

comment:3 Changed 8 years ago by mbrethen

The makefile for the top level distribution has this:

all:
	$(MAKE) -C smbase
	$(MAKE) -C ast
	$(MAKE) -C elkhound

In .../src/elkhound/Makefile.in I find this section

# -------------------- compiler configuration -------------------
# C++ compiler, etc.
CXX := @CXX@

# flags for the C and C++ compilers (and preprocessor)
# "-Ic" is needed for binaries that use $(support-set)
CCFLAGS := @CCFLAGS@ -I$(SMBASE) -I$(AST) -Ic

# flags for the linker
libraries := $(LIBAST) $(LIBSMBASE)
LDFLAGS := -g -Wall $(libraries)


# some other tools
AR     := ar
RANLIB := ranlib


# compile .cc to .o
%.o: %.cc
	$(CXX) -c -o $@ $< $(CCFLAGS)
	@perl $(SMBASE)/depend.pl -o $@ $< $(CCFLAGS) >$*.d

Configure script is .../src/elkhound/configure.pl

This looks correct, aren't the CC, CXX and CPP environment variables being set at configure time?

comment:4 Changed 22 months ago by mbrethen

This ticket can be closed.

comment:5 in reply to:  4 Changed 22 months ago by mascguy (Christopher Nielsen)

Resolution: fixed
Status: newclosed

Replying to mbrethen:

This ticket can be closed.

Great, thanks for the heads-up!

Note: See TracTickets for help on using tickets.