I tried those settings in make.conf:
And later even basic settings:
Test commands:
Test 2:
Tried manually to make in work directory, and flags are not passed in.
Tested with /usr/ports/lang/php52, it does work;/
What I'm doing wrong?
Code:
.if ${.CURDIR:M*/games/sl}
CFLAGS+= -pg
DEBUG_FLAGS+= -pg
WITH_DEBUG= YES
.endif
And later even basic settings:
Code:
WITH_DEBUG= YES
DEBUG_FLAGS+= -pg
CFLAGS+= -pg
CXXFLAGS+= -pg
Test commands:
Code:
> sudo portupgrade -f sl
> gprof `which sl`
gprof: /usr/local/bin/sl.gmon: No such file or directory
Test 2:
Code:
> gdb sl
(gdb) break 1
No symbol table is loaded. Use the "file" command.
Tested with /usr/ports/lang/php52, it does work;/
What I'm doing wrong?