version 1.93, 2000/07/01 20:12:03 |
version 1.94, 2000/07/06 15:08:30 |
Line 401 will compile and run perfectly on NetBSD |
|
Line 401 will compile and run perfectly on NetBSD |
|
successively in alphabetic order (as returned by a shell "patches/patch-*" |
successively in alphabetic order (as returned by a shell "patches/patch-*" |
glob expansion), so patch-aa is applied before patch-ab etc. |
glob expansion), so patch-aa is applied before patch-ab etc. |
|
|
The patch-?? files should be in diff -bu format, and apply without a fuzz |
The patch-?? files should be in diff -bu format, and apply without |
to avoid problems. Furthermore, do not put changes for more than one file |
a fuzz to avoid problems. (The latter condition is ensured by |
into a single patch-file, as this will make future modifications more |
setting PKG_DEVELOPER in /etc/mk.conf - the build will fail if a |
difficult. |
patch applies with fuzz only). Furthermore, do not put changes |
|
for more than one file into a single patch-file, as this will make |
|
future modifications more difficult. |
|
|
One important thing to mention is to pay attention that no RCS IDs get |
One important thing to mention is to pay attention that no RCS IDs get |
stored in the patch files, as these will cause problems when later checked |
stored in the patch files, as these will cause problems when later checked |
Line 965 The main targets used during the build p |
|
Line 967 The main targets used during the build p |
|
applied, files ending in .orig or .rej are ignored. Any special |
applied, files ending in .orig or .rej are ignored. Any special |
options to patch(1) can be handed in PATCH_DIST_ARGS. See section |
options to patch(1) can be handed in PATCH_DIST_ARGS. See section |
4.3 for more details. |
4.3 for more details. |
|
|
|
If PKG_DEVELOPER is set in /etc/mk.conf, patch is given special args |
|
to make it fail if the patches with some lines of fuzz. Please fix |
|
(regen) the patches so that they apply cleanly. The rationale behind |
|
this is that patches that apply cleanly may end up being applied in the |
|
wrong place, and cause severe harm there. |
|
|
* configure: |
* configure: |
Most pieces of software need information on the header files, |
Most pieces of software need information on the header files, |
Line 1164 perform the equivalent of: |
|
Line 1172 perform the equivalent of: |
|
host, and can be invoked from the top-level pkgsrc Makefile by using the |
host, and can be invoked from the top-level pkgsrc Makefile by using the |
target "show-host-specific-pkgs" |
target "show-host-specific-pkgs" |
|
|
|
* check-shlibs: |
|
After a package is installed, check all it's binaries and (on ELF |
|
platforms) shared libraries if they find the shared libs they need. |
|
Run by default if PKG_DEVELOPER is set in /etc/mk.conf. |
|
|
|
|
8 Debugging |
8 Debugging |
=========== |
=========== |
Line 1174 order to get a package working. Please n |
|
Line 1187 order to get a package working. Please n |
|
same as what was explained in the previous sections, only with some |
same as what was explained in the previous sections, only with some |
debugging aids. |
debugging aids. |
|
|
|
- Make sure PKG_DEVELOPER=1 is in /etc/mk.conf |
- Retrieve port from FreeBSD collection |
- Retrieve port from FreeBSD collection |
- Fix RCS-ID in the package's Makefile, see section 4.1. |
- Fix RCS-ID in the package's Makefile, see section 4.1. |
- Import unchanged FreeBSD source (ONLY if you have cvs access, not needed |
- Import unchanged FreeBSD source (ONLY if you have cvs access, not needed |