On Fri, Sep 20, 2013 at 09:30:21PM +0200, Juan Francisco Cantero Hurtado wrote: > On Fri, Sep 20, 2013 at 09:33:27AM -0600, Kyle R W Milz wrote: > > ports@, > > > > Thanks everyone for the feedback, here is an update with changes made. > > > > Things I'm wary about still: > > > > - had to set DESTDIRNAME = / to `make package' properly, there's some > > sort of weird double path thing going on if not > > > > - this thing needs root to run, does it make sense to be in bin/ ? > > "LDFLAGS += -Wl" in the patch is wrong. You're passing literally nothing > to the linker.
OK nuked the entire line. > Don't use DESTDIRNAME. The software reads PREFIX and DESTDIR, so it > concatenates both paths. You need to patch the install part of the > makefile of radeontop. Not sure what you're trying to say here but I've removed the DESTDIRNAME from the port Makefile and replaced ${PREFIX} in the radeontop Makefile with ${LOCALBASE} after reading in bsd.port.mk that $PREFIX is usually set to $LOCALBASE anyways. You also didn't clarify whether or not this should be in bin/ or sbin/ so I moved it back to sbin/ because like I said before this thing needs root to run (mmap /dev/mem). > -- > Juan Francisco Cantero Hurtado http://juanfra.info >