[Bug 195313] [maintainer] net/hanstunnel

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Apr 23 13:26:20 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195313

Jan Beich <jbeich at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|freebsd-ports-bugs at FreeBSD. |jbeich at FreeBSD.org
                   |org                         |
                 CC|                            |marino at FreeBSD.org
             Status|Open                        |In Progress
 Attachment #155912|                            |maintainer-approval?(vsityz
              Flags|                            |@gmail.com),
                   |                            |maintainer-approval?(marino
                   |                            |@FreeBSD.org)

--- Comment #5 from Jan Beich <jbeich at FreeBSD.org> ---
Created attachment 155912
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=155912&action=edit
update and refactor

(requesting marino@ review if only for DragonFly bits)

How about throwing out all that legacy cruft?

- No need to revert MASTER_SITES to old format with _SUBDIR variable
- No need to hardcode LOCALBASE in PLIST_FILES while installing under PREFIX
- No need to remove #ifdef/#ifndef LINUX because no BSD system defines it
- No need to replace $(FOO) with ${FOO} as fmake and bmake accept both
- No need for CLANG option for the port builds fine with gcc42[1]
- No need to patch Makefile if you only need to override a few variables
- No need to ${CAT} ${PKGMESSAGE} as this is deprecated by staging

While here maybe also
- Add FPL to LICENSEs
- Fix build on DragonFly [2]
- Respect CFLAGS/LDFLAGS again after update
- Rename patches according to |make makepatch|

Tested on 8.4R amd64, 9.3R i386, 10.1R amd64, 10.1R i386, 11.0C i386.

[1] The ports framework allows interested users to change compiler by
    setting CC, CXX, CPP variables in make.conf. Trying to set CC=clang
    is going to make DragonFly unhappy if the port works fine otherwise.

[2]
http://muscles.dragonflybsd.org/bulk/latest-per-pkg/hans/0.4.1_1/bleeding-edge-potential.log

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list